aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mod/blocks.php2
-rw-r--r--mod/layouts.php2
-rw-r--r--mod/webpages.php2
-rw-r--r--version.inc2
4 files changed, 7 insertions, 1 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;
diff --git a/version.inc b/version.inc
index 205427908..502ac4326 100644
--- a/version.inc
+++ b/version.inc
@@ -1 +1 @@
-2015-04-08.996
+2015-04-09.997