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