fix: manual navigation and external links work as intended

Closes #314
This commit is contained in:
Martin Ambrus
2017-11-08 12:03:07 +01:00
parent 6b63b0bc63
commit 080238ee3f
52 changed files with 101 additions and 108 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ include_once("GameEngine/config.php");
if (isset($_GET['s']) && !ctype_digit($_GET['s'])) {
$_GET['s'] = "0";
}
if (!ctype_digit($_GET['typ'])) {
if (isset($_GET['typ']) && !ctype_digit($_GET['typ'])) {
$_GET['typ'] = null;
}
if(!isset($_GET['typ']) && !isset($_GET['s'])) {