From 1b2b5570a8d3f3ebb888e3e68398aae4126c9e4a Mon Sep 17 00:00:00 2001 From: icewing Date: Wed, 11 Jun 2008 17:23:41 +0000 Subject: Marcus Povey * Default of can_edit_entity trigger plugin hook set to true. git-svn-id: https://code.elgg.org/elgg/trunk@872 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/entities.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/lib/entities.php b/engine/lib/entities.php index 7735b651b..2474c44be 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),false); + return trigger_plugin_hook('permissions_check',$entity->type,array('entity' => $entity, 'user' => $user),true); } else { return false; -- cgit v1.2.3