From 12d286988dbcdff5aad3620838e7ab777ac67a92 Mon Sep 17 00:00:00 2001 From: brettp Date: Wed, 14 Oct 2009 20:41:19 +0000 Subject: Standardized actions/* git-svn-id: http://code.elgg.org/elgg/trunk@3542 36083f99-b078-4883-b0ff-0f9b5a30f544 --- actions/widgets/save.php | 56 +++++++++++++++++++++--------------------------- 1 file changed, 25 insertions(+), 31 deletions(-) (limited to 'actions/widgets/save.php') diff --git a/actions/widgets/save.php b/actions/widgets/save.php index 6fdf79c11..60861acb8 100644 --- a/actions/widgets/save.php +++ b/actions/widgets/save.php @@ -1,38 +1,32 @@ \ No newline at end of file +if (!$noforward) { + forward($_SERVER['HTTP_REFERER']); +} \ No newline at end of file -- cgit v1.2.3