Now kshould work
authorRoland Häder <roland@mxchange.org>
Fri, 30 Oct 2009 22:07:22 +0000 (22:07 +0000)
committerRoland Häder <roland@mxchange.org>
Fri, 30 Oct 2009 22:07:22 +0000 (22:07 +0000)
inc/mysql-manager.php

index 62a8fbc..922188f 100644 (file)
@@ -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