diff options
Diffstat (limited to 'smarty/templates/rpmphp/main.tpl')
-rw-r--r-- | smarty/templates/rpmphp/main.tpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/smarty/templates/rpmphp/main.tpl b/smarty/templates/rpmphp/main.tpl index a19f862..b0cae4b 100644 --- a/smarty/templates/rpmphp/main.tpl +++ b/smarty/templates/rpmphp/main.tpl @@ -28,7 +28,7 @@ <script type="text/javascript" src="scripts/jquery-1.4.2.min.js"></script> <script type="text/javascript" src="scripts/jquery.autocomplete.pack.js"></script> <script type="text/javascript" src="scripts/rpmphp.js"></script> -{if $name} +{if isset($name)} <script type="text/javascript"> // <![CDATA[ $(function(){ldelim} @@ -65,7 +65,7 @@ {/foreach} </ul> </div><!-- /ariane --> -{if $name_required and not $name} +{if isset($name_required) and !isset($name)} <h1>Missing package name</h1> <form action="?" method="get"> <p>You have not specified any package name.</p> |