From 1593916907b74df073aaf53a7181c622f79e0b0a Mon Sep 17 00:00:00 2001 From: Michael Save Date: Fri, 18 May 2012 20:30:55 +1000 Subject: [PATCH] Permissions fix; missing global --- inc/mod/pages.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/mod/pages.php b/inc/mod/pages.php index 235616b0..d532d9ba 100644 --- a/inc/mod/pages.php +++ b/inc/mod/pages.php @@ -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']);