summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--smarty/templates/rpmphp/main.tpl2
-rw-r--r--zoom.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/smarty/templates/rpmphp/main.tpl b/smarty/templates/rpmphp/main.tpl
index 7456773..6f12fdf 100644
--- a/smarty/templates/rpmphp/main.tpl
+++ b/smarty/templates/rpmphp/main.tpl
@@ -44,7 +44,7 @@
{/foreach}
</ul>
</div><!-- /ariane -->
-{if not $name}
+{if $name_required and not $name}
<h1>Missing package name</h1>
<form action="?" method="get">
<p>You have not specified any package name.</p>
diff --git a/zoom.php b/zoom.php
index dfcdc95..5a3f6cb 100644
--- a/zoom.php
+++ b/zoom.php
@@ -34,7 +34,6 @@
* @version SVN: $Id: ajouter_adherent.php 836 2010-02-27 08:11:44Z trashy $
* @link http://github.com/remicollet/rpmphp/
* @since The begining of times.
-
*/
require 'main.inc.php';
require 'FedoraClient.php';
@@ -43,6 +42,7 @@ $fedcli = new FedoraPkgdb();
$name = $_GET['rpm'];
+$smarty->assign('name_required', true);
$smarty->assign('name', $name);
$ariane[] = array(
'url' => '#',