mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-16 14:33:01 +00:00
Bugfix: Don't follow page redirect upon saving an edit
This commit is contained in:
parent
cad2270512
commit
5b6bc5da7a
1 changed files with 1 additions and 2 deletions
|
@ -140,7 +140,6 @@ register_module([
|
||||||
$pageindex->$page->lasteditor = utf8_encode("anonymous");
|
$pageindex->$page->lasteditor = utf8_encode("anonymous");
|
||||||
|
|
||||||
|
|
||||||
var_dump($save_preprocessors);
|
|
||||||
// Execute all the preprocessors
|
// Execute all the preprocessors
|
||||||
foreach($save_preprocessors as $func)
|
foreach($save_preprocessors as $func)
|
||||||
{
|
{
|
||||||
|
@ -156,7 +155,7 @@ register_module([
|
||||||
else
|
else
|
||||||
http_response_code(200);
|
http_response_code(200);
|
||||||
|
|
||||||
header("location: index.php?page=$env->page&edit_status=success");
|
header("location: index.php?page=$env->page&edit_status=success&redirect=no");
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue