diff options
author | friendica <redmatrix@redmatrix.me> | 2015-04-09 15:45:08 -0700 |
---|---|---|
committer | friendica <redmatrix@redmatrix.me> | 2015-04-09 15:45:08 -0700 |
commit | 2619b60721c328aacbf7bd30d47476a68ce9b203 (patch) | |
tree | c58c9ca44ea6ffce92249076ffa3ca2ed8930f8e /mod | |
parent | 4fd80304a55d7edb1a558ff1fdcbff795fa12302 (diff) | |
download | volse-hubzilla-2619b60721c328aacbf7bd30d47476a68ce9b203.tar.gz volse-hubzilla-2619b60721c328aacbf7bd30d47476a68ce9b203.tar.bz2 volse-hubzilla-2619b60721c328aacbf7bd30d47476a68ce9b203.zip |
make sure we redirect to a sane place after deleting a webpage element
Diffstat (limited to 'mod')
-rw-r--r-- | mod/blocks.php | 2 | ||||
-rw-r--r-- | mod/layouts.php | 2 | ||||
-rw-r--r-- | mod/webpages.php | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/mod/blocks.php b/mod/blocks.php index f755f92b0..1b7a3588f 100644 --- a/mod/blocks.php +++ b/mod/blocks.php @@ -33,6 +33,8 @@ function blocks_content(&$a) { $which = argv(1); + $_SESSION['return_url'] = $a->query_string; + $uid = local_channel(); $owner = 0; $channel = null; diff --git a/mod/layouts.php b/mod/layouts.php index 2616513f8..4640c6690 100644 --- a/mod/layouts.php +++ b/mod/layouts.php @@ -33,6 +33,8 @@ function layouts_content(&$a) { $which = argv(1); + $_SESSION['return_url'] = $a->query_string; + $uid = local_channel(); $owner = 0; $channel = null; 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; |