make sure we redirect to a sane place after deleting a webpage element
This commit is contained in:
parent
4fd80304a5
commit
2619b60721
@ -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