mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 00:52:33 -04:00
make sure we redirect to a sane place after deleting a webpage element
This commit is contained in:
@@ -33,6 +33,8 @@ function blocks_content(&$a) {
|
||||
|
||||
$which = argv(1);
|
||||
|
||||
$_SESSION['return_url'] = $a->query_string;
|
||||
|
||||
$uid = local_channel();
|
||||
$owner = 0;
|
||||
$channel = null;
|
||||
|
||||
@@ -33,6 +33,8 @@ function layouts_content(&$a) {
|
||||
|
||||
$which = argv(1);
|
||||
|
||||
$_SESSION['return_url'] = $a->query_string;
|
||||
|
||||
$uid = local_channel();
|
||||
$owner = 0;
|
||||
$channel = null;
|
||||
|
||||
@@ -32,6 +32,8 @@ function webpages_content(&$a) {
|
||||
}
|
||||
|
||||
$which = argv(1);
|
||||
|
||||
$_SESSION['return_url'] = $a->query_string;
|
||||
|
||||
$uid = local_channel();
|
||||
$owner = 0;
|
||||
|
||||
@@ -1 +1 @@
|
||||
2015-04-08.996
|
||||
2015-04-09.997
|
||||
|
||||
Reference in New Issue
Block a user