projects
/
Pman.Admin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d187559
)
GroupRights.php
author
KH Lau
<khlau@roojs.com>
Tue, 30 Jan 2018 07:52:21 +0000
(15:52 +0800)
committer
KH Lau
<khlau@roojs.com>
Tue, 30 Jan 2018 07:52:21 +0000
(15:52 +0800)
GroupRights.php
patch
|
blob
|
history
diff --git
a/GroupRights.php
b/GroupRights.php
index
d757d4b
..
40fe99e
100644
(file)
--- a/
GroupRights.php
+++ b/
GroupRights.php
@@
-86,11
+86,11
@@
class Pman_Admin_GroupRights extends Pman
);
}
-
//
print_r($ar);
+ print_r($ar);
usort($ar, function($a, $b) {
$retval = $a['rightname'] - $b['rightname'];
if ($retval == 0) {
- $retval = $a['
rightname']['descript'] - $b['rightname']
['descript'];
+ $retval = $a['
descript'] - $b
['descript'];
}
return $retval;
});