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();
}