summaryrefslogtreecommitdiffstats
path: root/smarty/templates/rpmphp/zoom.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'smarty/templates/rpmphp/zoom.tpl')
-rw-r--r--smarty/templates/rpmphp/zoom.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/smarty/templates/rpmphp/zoom.tpl b/smarty/templates/rpmphp/zoom.tpl
index 4dcd7a2..09eb98f 100644
--- a/smarty/templates/rpmphp/zoom.tpl
+++ b/smarty/templates/rpmphp/zoom.tpl
@@ -19,7 +19,7 @@
* along with rpmphp. If not, see <http://www.gnu.org/licenses/>.
*}
-{if $error}
+{if isset($error)}
{if $error eq 'missing_name'}
<h1>Missing package name</h1>
<form action="?" method="get">
@@ -30,7 +30,7 @@
<p id="error"><strong>Ooops, an error occured:</strong><br/>{$error}</p>
{/if}
{/if}
-{if $pkgdb}
+{if isset($pkgdb)}
<p id="pkgdb-link"><a href="?rpm={$name}">Hide pkgdb informations</a></p>
{else}
<p id="pkgdb-link"><a href="?rpm={$name}&amp;pkgdb=1">Show more informations from pkgdb</a></p>