aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-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 91eb6c8f0..cde3d256f 100644
--- a/engine/lib/access.php
+++ b/engine/lib/access.php
@@ -44,7 +44,7 @@ function get_access_list($user_id = 0, $site_id = 0, $flush = false) {
$user_id = (int) $user_id;
$site_id = (int) $site_id;
- if (isset($access_list[$user_id])) {
+ if (isset($access_list[$user_id]) && $flush == false) {
return $access_list[$user_id];
}