1
0
Fork 0
mirror of https://github.com/sbrl/Pepperminty-Wiki.git synced 2024-12-23 01:55:01 +00:00

Bugfix: Don't follow page redirect upon saving an edit

This commit is contained in:
Starbeamrainbowlabs 2015-10-03 13:21:22 +01:00
parent cad2270512
commit 5b6bc5da7a

View file

@ -140,7 +140,6 @@ register_module([
$pageindex->$page->lasteditor = utf8_encode("anonymous");
var_dump($save_preprocessors);
// Execute all the preprocessors
foreach($save_preprocessors as $func)
{
@ -156,7 +155,7 @@ register_module([
else
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();
}
else