From 83d7b23be06484dfe1090d658820b1134a9970a7 Mon Sep 17 00:00:00 2001 From: ben Date: Wed, 11 Jun 2008 19:00:18 +0000 Subject: Edit permissions changes for admins git-svn-id: https://code.elgg.org/elgg/trunk@878 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/entities.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/lib/entities.php') 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; -- cgit v1.2.3