mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-28 00:24:23 +00:00
refactor: OOP code movements started :)
This commit is contained in:
+1
-1
@@ -561,7 +561,7 @@ if (!empty($_GET['p'])) {
|
||||
{
|
||||
include('Templates/search.tpl');
|
||||
}
|
||||
if($_POST['p'] and $_POST['s'])
|
||||
if(isset($_POST['p']) && isset($_POST['s']) && $_POST['p'] and $_POST['s'])
|
||||
{
|
||||
$filename = 'Templates/results_'.$_POST['p'].'.tpl';
|
||||
if(file_exists($filename))
|
||||
|
||||
Reference in New Issue
Block a user