aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib')
-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 a800817d7..b862e177a 100644
--- a/engine/lib/entities.php
+++ b/engine/lib/entities.php
@@ -1815,7 +1815,7 @@ function can_edit_entity_metadata($entity_guid, $user_guid = 0, $metadata = null
$user = get_entity($user_guid);
$params = array('entity' => $entity, 'user' => $user, 'metadata' => $metadata);
- $return = elgg_trigger_plugin_hook('permissions_check:metadata', $entity->type, $parms, $return);
+ $return = elgg_trigger_plugin_hook('permissions_check:metadata', $entity->type, $params, $return);
return $return;
} else {
return false;