1
0
Fork 0
mirror of https://github.com/sbrl/Pepperminty-Wiki.git synced 2024-12-25 14:45:02 +00:00

Bugfix: Redirect to invalid default page

This commit is contained in:
Starbeamrainbowlabs 2015-09-19 10:24:20 +01:00
parent 28234dc775
commit f5af74e867
2 changed files with 2 additions and 2 deletions

View file

@ -515,7 +515,7 @@ else
if(!isset($_GET["action"]) and !isset($_GET["page"]))
{
http_response_code(302);
header("location: index.php?action=$settings->defaultaction&page=$defaultpage");
header("location: index.php?action=$settings->defaultaction&page=$settings->defaultpage");
exit();
}

View file

@ -294,7 +294,7 @@ else
if(!isset($_GET["action"]) and !isset($_GET["page"]))
{
http_response_code(302);
header("location: index.php?action=$settings->defaultaction&page=$defaultpage");
header("location: index.php?action=$settings->defaultaction&page=$settings->defaultpage");
exit();
}