1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-02-20 04:31:23 +01:00

Permissions fix; missing global

This commit is contained in:
Michael Save 2012-05-18 20:30:55 +10:00
parent 88f90c01fe
commit 65a6bb6bfa

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