aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/entities.php
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-07 19:56:56 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-07 19:56:56 +0000
commitb5d785ab9ad049b9db1b4ee1d50cc385a40eafa7 (patch)
tree131835331d032b8b6f33afdc5fa6e8d1902521af /engine/lib/entities.php
parent05de5766ed57a725074052197573c8d1c0917a18 (diff)
downloadelgg-b5d785ab9ad049b9db1b4ee1d50cc385a40eafa7.tar.gz
elgg-b5d785ab9ad049b9db1b4ee1d50cc385a40eafa7.tar.bz2
Administration tweaks; fixed users online functions, as well as last_action functions, and the 'make admin' functionality
git-svn-id: https://code.elgg.org/elgg/trunk@1326 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 abbd67bab..47ff916f8 100644
--- a/engine/lib/entities.php
+++ b/engine/lib/entities.php
@@ -1357,7 +1357,7 @@
if ($entity = get_entity($entity_guid)) {
$return = can_edit_entity($entity_guid, $user_guid);
- $return = trigger_plugin_hook('permissions_check:metadata',$entity->type,null,$return);
+ $return = trigger_plugin_hook('permissions_check:metadata',$entity->type,array('entity' => $entity, 'user' => $user),$return);
return $return;
} else {
return false;