diff options
author | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-21 16:59:52 +0000 |
---|---|---|
committer | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-21 16:59:52 +0000 |
commit | d7d2da2c7c4a6f24b6ef4389e4878d475ade6220 (patch) | |
tree | b63b9436001f7b298a6e434cf2499b59d4dec21c | |
parent | e87ff571ac43900feb20fd3227b39035e4abecd8 (diff) | |
download | elgg-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
-rw-r--r-- | actions/likes/delete.php | 2 |
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 |