From cd0d1ef40bb80433b2038ab426560d72d268844f Mon Sep 17 00:00:00 2001 From: Colin Smith Date: Mon, 25 Apr 2005 21:26:15 +0000 Subject: Fix sorting. --- usr/local/www/pkg_mgr.php | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'usr/local/www') diff --git a/usr/local/www/pkg_mgr.php b/usr/local/www/pkg_mgr.php index ec6d480..fe435ee 100755 --- a/usr/local/www/pkg_mgr.php +++ b/usr/local/www/pkg_mgr.php @@ -107,26 +107,27 @@ if(!$pkg_config['packages']) { } } asort($pkgs); - foreach($pkgs as $index => $pkg) { + $pkgs = array_keys($pkgs); + foreach($pkgs as $index) { if(!is_string($instpkgs[0])) { echo "
There are currently no available packages for installation."; } ?> - + - + - +
- + - + -- cgit v1.1