From bf014fc4500145ea2334f67f0186d300dd1d8417 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 30 Oct 2009 22:07:22 +0000 Subject: [PATCH] Now kshould work --- inc/mysql-manager.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/inc/mysql-manager.php b/inc/mysql-manager.php index 62a8fbc898..922188fff2 100644 --- a/inc/mysql-manager.php +++ b/inc/mysql-manager.php @@ -653,6 +653,9 @@ function isAdmin ($admin = '') { // Do we have cache? if (!isset($GLOBALS['is_admin'][$admin])) { + // Init it with failed + $GLOBALS['is_admin'][$admin] = false; + // Search in array for entry if (isset($GLOBALS['admin_hash'])) { // Use cached string -- 2.39.5