aboutsummaryrefslogtreecommitdiff
path: root/actions/likes
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-21 16:59:52 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-21 16:59:52 +0000
commitd7d2da2c7c4a6f24b6ef4389e4878d475ade6220 (patch)
treeb63b9436001f7b298a6e434cf2499b59d4dec21c /actions/likes
parente87ff571ac43900feb20fd3227b39035e4abecd8 (diff)
downloadelgg-d7d2da2c7c4a6f24b6ef4389e4878d475ade6220.tar.gz
elgg-d7d2da2c7c4a6f24b6ef4389e4878d475ade6220.tar.bz2
after delete action, return to the correct context
git-svn-id: http://code.elgg.org/elgg/trunk@5462 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'actions/likes')
-rw-r--r--actions/likes/delete.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/likes/delete.php b/actions/likes/delete.php
index cbb89f67a..a774c06e1 100644
--- a/actions/likes/delete.php
+++ b/actions/likes/delete.php
@@ -29,4 +29,4 @@ if ($likes = get_annotation($annotation_id)) {
}
register_error(elgg_echo("likes:notdeleted"));
-forward($entity->getURL()); \ No newline at end of file
+forward($_SERVER['HTTP_REFERER']); \ No newline at end of file