diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-04 12:32:26 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-04 12:32:26 +0000 |
commit | 45be54125d929e00ad206da5cd2800fc2c26de4d (patch) | |
tree | 33f6b09dccf07a9c05344032999e003a7d061132 /engine/lib/access.php | |
parent | 471940d11c44221cb249b510f5593f824962438d (diff) | |
download | elgg-45be54125d929e00ad206da5cd2800fc2c26de4d.tar.gz elgg-45be54125d929e00ad206da5cd2800fc2c26de4d.tar.bz2 |
Refs #1926 should not be ignoring the flush variable
git-svn-id: http://code.elgg.org/elgg/trunk@8579 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/access.php')
-rw-r--r-- | engine/lib/access.php | 2 |
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]; } |