summaryrefslogtreecommitdiffstats
path: root/usr/local/www/pkg_mgr.php
diff options
context:
space:
mode:
authorColin Smith <colin@pfsense.org>2005-08-11 23:03:40 +0000
committerColin Smith <colin@pfsense.org>2005-08-11 23:03:40 +0000
commit94fbf631579eec4bbde4c1a33e0c9de241ff5cb5 (patch)
tree2dfe0771488394726cb187a52fc9babceaed61a6 /usr/local/www/pkg_mgr.php
parent68c50bd1ce2eb158ba9a4f1a4f158110566d56fa (diff)
downloadpfsense-94fbf631579eec4bbde4c1a33e0c9de241ff5cb5.zip
pfsense-94fbf631579eec4bbde4c1a33e0c9de241ff5cb5.tar.gz
Revert commit made to wrong branch. This addresses #325.
Diffstat (limited to 'usr/local/www/pkg_mgr.php')
-rwxr-xr-xusr/local/www/pkg_mgr.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr/local/www/pkg_mgr.php b/usr/local/www/pkg_mgr.php
index daf072c..91169de 100755
--- a/usr/local/www/pkg_mgr.php
+++ b/usr/local/www/pkg_mgr.php
@@ -107,8 +107,8 @@ include("fbegin.inc");
} else {
$pkgs = array();
$instpkgs = array();
- if($config['extensions']['packages']['package'])
- foreach($config['extensions']['packages']['package'] as $instpkg) $instpkgs[] = $instpkg['name'];
+ if($config['installedpackages']['package'] != "")
+ foreach($config['installedpackages']['package'] as $instpkg) $instpkgs[] = $instpkg['name'];
$pkg_names = array_keys($pkg_info);
$pkg_keys = array();
foreach($pkg_names as $name) {
@@ -165,3 +165,4 @@ include("fbegin.inc");
<?php include("fend.inc"); ?>
</body>
</html>
+
OpenPOWER on IntegriCloud