From 6a25658ba5c1212f281fd670feb68729efc7918e Mon Sep 17 00:00:00 2001 From: KH Lau Date: Tue, 30 Jan 2018 15:57:36 +0800 Subject: [PATCH] GroupRights.php --- GroupRights.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GroupRights.php b/GroupRights.php index 7be2698..b023314 100644 --- a/GroupRights.php +++ b/GroupRights.php @@ -88,9 +88,9 @@ class Pman_Admin_GroupRights extends Pman } //print_r($ar); usort($ar, function($a, $b) { - $retval = $a['rightname'] > $b['rightname']; + $retval = $a['rightname'] - $b['rightname']; if ($retval == 0) { - $retval = $a['descript'] > $b['descript']; + $retval = $a['descript'] - $b['descript']; } return $retval; }); -- 2.39.2