From: dave Date: Sun, 21 Mar 2010 16:59:52 +0000 (+0000) Subject: after delete action, return to the correct context X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=d7d2da2c7c4a6f24b6ef4389e4878d475ade6220;p=lorea%2Felgg.git after delete action, return to the correct context git-svn-id: http://code.elgg.org/elgg/trunk@5462 36083f99-b078-4883-b0ff-0f9b5a30f544 --- 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