diff options
author | icewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-11 17:23:41 +0000 |
---|---|---|
committer | icewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-11 17:23:41 +0000 |
commit | 1b2b5570a8d3f3ebb888e3e68398aae4126c9e4a (patch) | |
tree | a6cebe8b2a4339f771bc1352f5ac1b13bb49c443 /engine/lib | |
parent | 11f2942c65c038eda3fb65c40877d1081c0637e8 (diff) | |
download | elgg-1b2b5570a8d3f3ebb888e3e68398aae4126c9e4a.tar.gz elgg-1b2b5570a8d3f3ebb888e3e68398aae4126c9e4a.tar.bz2 |
Marcus Povey <marcus@dushka.co.uk>
* 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
Diffstat (limited to 'engine/lib')
-rw-r--r-- | engine/lib/entities.php | 2 |
1 files changed, 1 insertions, 1 deletions
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; |