aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/metadata.php
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-01 12:25:12 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-01 12:25:12 +0000
commit1d625e30949ca2c500ac002583485f44f576176c (patch)
tree488b891091f68fceb874d4a5a07a3ef1e12b1bb9 /engine/lib/metadata.php
parent2ce92903011fac8c5246c8384b440e5f3daa190f (diff)
downloadelgg-1d625e30949ca2c500ac002583485f44f576176c.tar.gz
elgg-1d625e30949ca2c500ac002583485f44f576176c.tar.bz2
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
Diffstat (limited to 'engine/lib/metadata.php')
-rw-r--r--engine/lib/metadata.php2
1 files changed, 1 insertions, 1 deletions
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;