diff options
Diffstat (limited to 'actions/comments/add.php')
-rw-r--r-- | actions/comments/add.php | 4 |
1 files changed, 2 insertions, 2 deletions
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']); |