From 389b0a5862a9f4130ca0765ba6155d81bd84499b Mon Sep 17 00:00:00 2001 From: ben Date: Mon, 7 Apr 2008 14:40:53 +0000 Subject: 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 --- engine/lib/annotations.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engine/lib/annotations.php') 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"; } } } -- cgit v1.2.3