From 1d625e30949ca2c500ac002583485f44f576176c Mon Sep 17 00:00:00 2001 From: ben Date: Fri, 1 Aug 2008 12:25:12 +0000 Subject: The metadata permissions check now passes along (optionally) the specific piece of metadata. Refs #104 git-svn-id: https://code.elgg.org/elgg/trunk@1648 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/metadata.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/lib/metadata.php') diff --git a/engine/lib/metadata.php b/engine/lib/metadata.php index 70f563d25..51b3c03d9 100644 --- a/engine/lib/metadata.php +++ b/engine/lib/metadata.php @@ -77,7 +77,7 @@ function canEdit() { if ($entity = get_entity($this->get('entity_guid'))) { - return $entity->canEditMetadata(); + return $entity->canEditMetadata($this); } return false; -- cgit v1.2.3