Permissions fix; missing global
This commit is contained in:
parent
8ceb19a60a
commit
1593916907
@ -969,7 +969,7 @@ function mod_user($uid) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function mod_user_new() {
|
function mod_user_new() {
|
||||||
global $pdo;
|
global $pdo, $config;
|
||||||
|
|
||||||
if (!hasPermission($config['mod']['createusers']))
|
if (!hasPermission($config['mod']['createusers']))
|
||||||
error($config['error']['noaccess']);
|
error($config['error']['noaccess']);
|
||||||
|
Loading…
Reference in New Issue
Block a user