From 37658c5be7fa91fefeb7f49591692b91efc89298 Mon Sep 17 00:00:00 2001 From: dave Date: Sun, 21 Mar 2010 17:55:00 +0000 Subject: the beginnings of a mechanism to comment on river objects git-svn-id: http://code.elgg.org/elgg/trunk@5463 36083f99-b078-4883-b0ff-0f9b5a30f544 --- actions/comments/add.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'actions/comments/add.php') diff --git a/actions/comments/add.php b/actions/comments/add.php index 67429f033..bce464fdb 100644 --- a/actions/comments/add.php +++ b/actions/comments/add.php @@ -64,5 +64,5 @@ system_message(elgg_echo("generic_comment:posted")); //add to river add_to_river('annotation/annotate','comment',$user->guid,$entity->guid, "", 0, $annotation); -// Forward to the entity page -forward($entity->getURL()); +// Forward to the page the action occurred on +forward($_SERVER['HTTP_REFERER']); -- cgit v1.2.3