aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/entities.php
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-11 19:00:18 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-11 19:00:18 +0000
commit83d7b23be06484dfe1090d658820b1134a9970a7 (patch)
tree45cd29a2ccf50439490573c52ec6bc61ca546ed7 /engine/lib/entities.php
parentdbf6bdbca413b4f2c36be6404162204b5eb5de07 (diff)
downloadelgg-83d7b23be06484dfe1090d658820b1134a9970a7.tar.gz
elgg-83d7b23be06484dfe1090d658820b1134a9970a7.tar.bz2
Edit permissions changes for admins
git-svn-id: https://code.elgg.org/elgg/trunk@878 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/entities.php')
-rw-r--r--engine/lib/entities.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/entities.php b/engine/lib/entities.php
index 2474c44be..7735b651b 100644
--- a/engine/lib/entities.php
+++ b/engine/lib/entities.php
@@ -1243,7 +1243,7 @@
if ($entity->getOwner() == $user->getGUID()) return true;
if ($entity->type == "user" && $entity->getGUID() == $user->getGUID()) return true;
- return trigger_plugin_hook('permissions_check',$entity->type,array('entity' => $entity, 'user' => $user),true);
+ return trigger_plugin_hook('permissions_check',$entity->type,array('entity' => $entity, 'user' => $user),false);
} else {
return false;