summaryrefslogtreecommitdiffstats
path: root/usr/local/www/pkg_mgr_installed.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/pkg_mgr_installed.php')
-rwxr-xr-xusr/local/www/pkg_mgr_installed.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/pkg_mgr_installed.php b/usr/local/www/pkg_mgr_installed.php
index ff88e9f..fb872ef 100755
--- a/usr/local/www/pkg_mgr_installed.php
+++ b/usr/local/www/pkg_mgr_installed.php
@@ -81,9 +81,9 @@ include("head.inc");
if(is_array($config['installedpackages']['package'])):
$instpkgs = array();
- foreach($config['installedpackages']['package'] as $instpkg)
- if($instpkg['name'])
- $instpkgs[] = $instpkg['name'];
+ foreach($config['installedpackages']['package'] as $instpkg) {
+ $instpkgs[] = $instpkg['name'];
+ }
asort($instpkgs);
foreach ($instpkgs as $index => $pkgname):
OpenPOWER on IntegriCloud