diff options
Diffstat (limited to 'engine/lib/access.php')
-rw-r--r-- | engine/lib/access.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engine/lib/access.php b/engine/lib/access.php index aace86335..c97149582 100644 --- a/engine/lib/access.php +++ b/engine/lib/access.php @@ -100,15 +100,16 @@ $access_array[$user_id] = $tmp_access_array;
}
else
- return $tmp_access_array; // No user id logged in so we can only access public info
+ $tmp_return = $tmp_access_array; // No user id logged in so we can only access public info
} else {
$tmp_access_array = $access_array[$user_id];
}
- return $access_array[$user_id];
+ $tmp_return = $access_array[$user_id];
+ return trigger_plugin_hook('access:collections:read','user',array('user_id' => $user_id, 'site_id' => $site_id),$tmp_access_array);
}
/**
|