summaryrefslogtreecommitdiffstats
path: root/usr/local/www/pkg_mgr_installed.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2011-01-10 17:58:51 -0500
committerjim-p <jimp@pfsense.org>2011-01-10 17:58:51 -0500
commit001cbed2004d83663547e049f7148cc7fe99477f (patch)
treed67396f32bae4348319c17087b2b8cdeebd3da31 /usr/local/www/pkg_mgr_installed.php
parentc1261315729995efad1f878a0c7191cf6ffbc7c8 (diff)
downloadpfsense-001cbed2004d83663547e049f7148cc7fe99477f.zip
pfsense-001cbed2004d83663547e049f7148cc7fe99477f.tar.gz
Sort installed packages in a case insensitive way on the widget and installed packages list.
Diffstat (limited to 'usr/local/www/pkg_mgr_installed.php')
-rwxr-xr-xusr/local/www/pkg_mgr_installed.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/pkg_mgr_installed.php b/usr/local/www/pkg_mgr_installed.php
index c544d73..48c9677 100755
--- a/usr/local/www/pkg_mgr_installed.php
+++ b/usr/local/www/pkg_mgr_installed.php
@@ -87,7 +87,7 @@ include("head.inc");
foreach($config['installedpackages']['package'] as $instpkg) {
$instpkgs[] = $instpkg['name'];
}
- asort($instpkgs);
+ natcasesort($instpkgs);
foreach ($instpkgs as $index => $pkgname):
OpenPOWER on IntegriCloud