diff options
Diffstat (limited to 'usr/local/www/pkg_mgr.php')
-rwxr-xr-x | usr/local/www/pkg_mgr.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/pkg_mgr.php b/usr/local/www/pkg_mgr.php index 133a650..daf072c 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['installedpackages']['package'] != "") - foreach($config['installedpackages']['package'] as $instpkg) $instpkgs[] = $instpkg['name']; + if($config['extensions']['packages']['package']) + foreach($config['extensions']['packages']['package'] as $instpkg) $instpkgs[] = $instpkg['name']; $pkg_names = array_keys($pkg_info); $pkg_keys = array(); foreach($pkg_names as $name) { |