From d7d2da2c7c4a6f24b6ef4389e4878d475ade6220 Mon Sep 17 00:00:00 2001 From: dave Date: Sun, 21 Mar 2010 16:59:52 +0000 Subject: after delete action, return to the correct context git-svn-id: http://code.elgg.org/elgg/trunk@5462 36083f99-b078-4883-b0ff-0f9b5a30f544 --- actions/likes/delete.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actions/likes/delete.php') 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 -- cgit v1.2.3