summaryrefslogtreecommitdiffstats
path: root/usr/local/www/pkg_mgr.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/pkg_mgr.php')
-rwxr-xr-xusr/local/www/pkg_mgr.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/pkg_mgr.php b/usr/local/www/pkg_mgr.php
index b8d943c..10fa1c1 100755
--- a/usr/local/www/pkg_mgr.php
+++ b/usr/local/www/pkg_mgr.php
@@ -211,7 +211,7 @@ include("head.inc");
<?= $size ?>
</td>
-->
- <?php if (isset($g['disablepackagehistory'])){?>
+ <?php if ($g['disablepackagehistory']){?>
<td class="listr">
<?php }else{?>
<td class="listr" <?=domTT_title(gettext("Click ".ucfirst($index['name'])." version to check it's changelog."))?>>
@@ -219,7 +219,7 @@ include("head.inc");
<?=$index['status'] ?>
<br/>
<?php
- if (isset($g['disablepackagehistory']))
+ if ($g['disablepackagehistory'])
echo"<a>{$index['version']}</a>";
else
echo "<a target='_new' href='{$changeloglink}'>{$index['version']}</a>";
OpenPOWER on IntegriCloud