From f1ba6ec14130a5480653745b22de6a001112bddb Mon Sep 17 00:00:00 2001 From: dave Date: Mon, 21 Sep 2009 14:50:23 +0000 Subject: New river code added to allow user comment to be pulled out and displayed git-svn-id: http://code.elgg.org/elgg/trunk@3490 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/annotations.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/lib/annotations.php') diff --git a/engine/lib/annotations.php b/engine/lib/annotations.php index 49ffc7840..028c33006 100644 --- a/engine/lib/annotations.php +++ b/engine/lib/annotations.php @@ -191,7 +191,7 @@ if ($result!==false) { $obj = get_annotation($result); if (trigger_elgg_event('create', 'annotation', $obj)) { - return true; + return $result; } else { delete_annotation($result); } -- cgit v1.2.3