aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/access.php
diff options
context:
space:
mode:
authorBrett Profitt <brett.profitt@gmail.com>2011-09-03 11:49:59 -0700
committerBrett Profitt <brett.profitt@gmail.com>2011-09-03 11:49:59 -0700
commit4d47ecbb311d556f155ad866bbce358fbfb51218 (patch)
tree13ff778452d188619768ff0503ab5abb39fdd338 /engine/lib/access.php
parent9a53ddf57cdbf557b0d4f21d0fdf01b4b92569c4 (diff)
downloadelgg-4d47ecbb311d556f155ad866bbce358fbfb51218.tar.gz
elgg-4d47ecbb311d556f155ad866bbce358fbfb51218.tar.bz2
Fixed typo in call to function.
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 1a4a22162..678c9e77b 100644
--- a/engine/lib/access.php
+++ b/engine/lib/access.php
@@ -958,7 +958,7 @@ function access_init() {
function elgg_override_permissions_hook($hook, $type, $value, $params) {
$user = elgg_extract('user', $params);
if (!$user) {
- $user = elgg_get_logged_in_user();
+ $user = elgg_get_logged_in_user_entity();
}
if (!$user instanceof ElggUser) {