From 2619b60721c328aacbf7bd30d47476a68ce9b203 Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 9 Apr 2015 15:45:08 -0700 Subject: make sure we redirect to a sane place after deleting a webpage element --- mod/webpages.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mod/webpages.php') diff --git a/mod/webpages.php b/mod/webpages.php index c5fdda89b..a9cf61dd1 100644 --- a/mod/webpages.php +++ b/mod/webpages.php @@ -32,6 +32,8 @@ function webpages_content(&$a) { } $which = argv(1); + + $_SESSION['return_url'] = $a->query_string; $uid = local_channel(); $owner = 0; -- cgit v1.2.3