From 452007688cdb039a0d62bf1688d1c010622ec53e Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 26 Mar 2011 16:14:30 +0000 Subject: 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 --- engine/lib/entities.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine') 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; -- cgit v1.2.3