aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/access.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/engine/lib/access.php b/engine/lib/access.php
index cf4b82609..2df9aea58 100644
--- a/engine/lib/access.php
+++ b/engine/lib/access.php
@@ -50,6 +50,7 @@
function get_access_array($user_id = 0, $site_id = 0, $flush = false) {
global $CONFIG;
+ static $access_array;
if (!isset($access_array))
$access_array = array();