refactor: OOP code movements started :)

This commit is contained in:
Martin Ambrus
2017-10-25 13:38:38 +02:00
parent ab461e5945
commit 30d3b9c4fa
20 changed files with 484 additions and 76 deletions
+1 -1
View File
@@ -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))