aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-26 16:14:30 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-26 16:14:30 +0000
commit452007688cdb039a0d62bf1688d1c010622ec53e (patch)
tree8844194b2401a4fc88dc58fde7a1a21f9f43bed8
parent8e2370d2a4fef87d03da7e490d8c4e5cf92baca0 (diff)
downloadelgg-452007688cdb039a0d62bf1688d1c010622ec53e.tar.gz
elgg-452007688cdb039a0d62bf1688d1c010622ec53e.tar.bz2
Fixes typo in variable name: https://github.com/lorea/Elgg/commit/4bdbaa793ad45a544fd6759fd0d9d3e7524d8577
git-svn-id: http://code.elgg.org/elgg/trunk@8845 36083f99-b078-4883-b0ff-0f9b5a30f544
-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;