aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/access.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/access.php b/engine/lib/access.php
index f52d839de..44693c3ea 100644
--- a/engine/lib/access.php
+++ b/engine/lib/access.php
@@ -55,7 +55,7 @@
global $CONFIG;
static $access_array;
- if (!isset($access_array) || !$init_finished)
+ if (!isset($access_array) || (!isset($init_finished)) || (!$init_finished))
$access_array = array();
if ($user_id == 0) $user_id = $_SESSION['guid'];