aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/access.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-10-08 21:52:34 -0400
committerCash Costello <cash.costello@gmail.com>2011-10-08 21:52:34 -0400
commitba4bbf484d33fe24332ff63ac3b063f346a2a74c (patch)
tree5342f33dd095c43e2cc2bb6bcf635dd3d6f00820 /engine/lib/access.php
parent9acaf639b57e06178c92b8321012833c4e1fdb80 (diff)
downloadelgg-ba4bbf484d33fe24332ff63ac3b063f346a2a74c.tar.gz
elgg-ba4bbf484d33fe24332ff63ac3b063f346a2a74c.tar.bz2
Fixes #3942 fixed all the warnings and notices in the unit tests
Diffstat (limited to 'engine/lib/access.php')
-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 e8cec50d0..ae64f832a 100644
--- a/engine/lib/access.php
+++ b/engine/lib/access.php
@@ -460,7 +460,7 @@ function can_edit_access_collection($collection_id, $user_guid = null) {
if ($user_guid) {
$user = get_entity((int) $user_guid);
} else {
- $user = get_loggedin_user();
+ $user = elgg_get_logged_in_user_entity();
}
$collection = get_access_collection($collection_id);