1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00

Closes #2912 Typo prevents removing admin status from user

This commit is contained in:
Achim Ennenbach 2018-07-15 12:34:19 +02:00
parent 26d72ff21e
commit a6c58f2293

View File

@ -2724,7 +2724,7 @@ class users_admin_form_ui extends e_admin_form_ui
// $text .= "<option value='unadmin'>".USRLAN_34."</option>\n";
$opts['adminperms'] = USRLAN_221;
$opts['uadmin'] = USRLAN_34;
$opts['unadmin'] = USRLAN_34;
}
}
elseif(USERID === $user_id || $user_id > USERID)