summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local')
-rw-r--r--usr/local/www/system_usermanager_addprivs.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/local/www/system_usermanager_addprivs.php b/usr/local/www/system_usermanager_addprivs.php
index 6716036..edfb2ad 100644
--- a/usr/local/www/system_usermanager_addprivs.php
+++ b/usr/local/www/system_usermanager_addprivs.php
@@ -101,6 +101,7 @@ if ($_POST) {
else
$a_user['priv'] = array_merge($a_user['priv'], $pconfig['sysprivs']);
+ $a_user['priv'] = sort_user_privs($a_user['priv']);
admin_users_sort();
local_user_set($a_user);
$retval = write_config();
OpenPOWER on IntegriCloud