Suche für PHP 7 repariert, noch nicht getestet

This commit is contained in:
Manuel Weiser 2018-08-04 19:35:01 +02:00
parent a8f497f3c2
commit 93e7945857

View File

@ -22,6 +22,22 @@
require('config.inc.php');
if (!isset($_REQUEST["search_what"])) $_REQUEST["search_what"]="";
if (!isset($search_word)) $search_word="";
if (!isset($search_word_org)) $search_word_org="";
if (!isset($_REQUEST["search_org"])) $_REQUEST["search_org"]="";
if (!isset($_REQUEST["search_ric"])) $_REQUEST["search_ric"]="";
if (!isset($_REQUEST["search_max_results"])) $_REQUEST["search_max_results"]="";
if (!isset($_REQUEST["search_time"])) $_REQUEST["search_time"]="";
if (!isset($_REQUEST["search_time_from"])) $_REQUEST["search_time_from"]="";
if (!isset($_REQUEST["search_time_to"])) $_REQUEST["search_time_to"]="";
if (!isset($_REQUEST["Submit"])) $_REQUEST["Submit"]="";
if (!isset($_REQUEST["select_tag_from"])) $_REQUEST["select_tag_from"]="";
if (!isset($_REQUEST["select_monat_from"])) $_REQUEST["select_monat_from"]="";
if (!isset($_REQUEST["select_tag_to"])) $_REQUEST["select_tag_to"]="";
if (!isset($_REQUEST["select_monat_to"])) $_REQUEST["select_monat_to"]="";
if (!isset($show)) $show="";
/**************************/
// Seite zusammenstellen
//
@ -131,7 +147,7 @@ require('config.inc.php');
}
else{
$show_filter = 'WHERE d.id = "'.$_REQUEST[search_ric].'"';
$show_filter = 'WHERE d.id = "'.$_REQUEST["search_ric"].'"';
}
if( $_REQUEST["search_org"] != '0' )