Permissions fix; missing global

This commit is contained in:
Michael Save 2012-05-18 20:30:55 +10:00
parent 8ceb19a60a
commit 1593916907

View File

@ -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']);