diff options
author | Colin Smith <colin@pfsense.org> | 2005-08-11 23:03:40 +0000 |
---|---|---|
committer | Colin Smith <colin@pfsense.org> | 2005-08-11 23:03:40 +0000 |
commit | 94fbf631579eec4bbde4c1a33e0c9de241ff5cb5 (patch) | |
tree | 2dfe0771488394726cb187a52fc9babceaed61a6 /usr/local/www/pkg_mgr.php | |
parent | 68c50bd1ce2eb158ba9a4f1a4f158110566d56fa (diff) | |
download | pfsense-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-x | usr/local/www/pkg_mgr.php | 5 |
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> + |