aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/annotations.php
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-09-21 14:50:23 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-09-21 14:50:23 +0000
commitf1ba6ec14130a5480653745b22de6a001112bddb (patch)
tree2ec0fba80900655965b1c6d88bf4aaa7c22e39a6 /engine/lib/annotations.php
parent59f01de10c6a581c074889b96fbe4698ccd47309 (diff)
downloadelgg-f1ba6ec14130a5480653745b22de6a001112bddb.tar.gz
elgg-f1ba6ec14130a5480653745b22de6a001112bddb.tar.bz2
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
Diffstat (limited to 'engine/lib/annotations.php')
-rw-r--r--engine/lib/annotations.php2
1 files changed, 1 insertions, 1 deletions
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);
}