mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-09-01 08:07:14 +00:00
fix: undefined index
This commit is contained in:
+1
-1
@@ -60,7 +60,7 @@ else {
|
|||||||
if($_GET['typ'] == 4 && $_GET['s'] == 0) {
|
if($_GET['typ'] == 4 && $_GET['s'] == 0) {
|
||||||
$_GET['s'] = 1;
|
$_GET['s'] = 1;
|
||||||
}
|
}
|
||||||
include("Templates/Manual/".$_GET['typ'].preg_replace("/[^a-zA-Z0-9_-]/","",$_GET['s']).".tpl");
|
include("Templates/Manual/".$_GET['typ'].preg_replace("/[^a-zA-Z0-9_-]/","",(isset($_GET['s']) ? $_GET['s'] : '')).".tpl");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|||||||
Reference in New Issue
Block a user