aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/annotations.php
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-07 14:40:53 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-07 14:40:53 +0000
commit389b0a5862a9f4130ca0765ba6155d81bd84499b (patch)
treee6991259eb924e3e6c44ea08f5dc3c6862fac8f5 /engine/lib/annotations.php
parentdba0e07bd47324501123090ef6159b07a672d004 (diff)
downloadelgg-389b0a5862a9f4130ca0765ba6155d81bd84499b.tar.gz
elgg-389b0a5862a9f4130ca0765ba6155d81bd84499b.tar.bz2
Properly extensible canEdit functionality for metadata, annotations, and anything else that supports the ElggExtender interface
git-svn-id: https://code.elgg.org/elgg/trunk@410 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/annotations.php')
-rw-r--r--engine/lib/annotations.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/engine/lib/annotations.php b/engine/lib/annotations.php
index 3f965ec6d..f2b9e16fb 100644
--- a/engine/lib/annotations.php
+++ b/engine/lib/annotations.php
@@ -40,7 +40,8 @@
$objarray = (array) $annotation;
foreach($objarray as $key => $value) {
$this->attributes[$key] = $value;
- }
+ }
+ $this->attributes['type'] = "annotation";
}
}
}