Commit 52e51a1d authored by Nico Schallehn's avatar Nico Schallehn

kleiner Fehler behoben

parent 76a83572
...@@ -117,7 +117,7 @@ class MediaDBViewerAPI{ ...@@ -117,7 +117,7 @@ class MediaDBViewerAPI{
if ((substr($GET_arr['Jahr'],0,1) == "<") OR (substr($GET_arr['Jahr'],0,1) == ">") OR !strpos($GET_arr['Jahr'], ",")) { if ((substr($GET_arr['Jahr'],0,1) == "<") OR (substr($GET_arr['Jahr'],0,1) == ">") OR !strpos($GET_arr['Jahr'], ",")) {
// Kleiner oder Größer und kein Komma! // Kleiner oder Größer und kein Komma!
$Jahr = str_replace(">", "", $GET_arr['Jahr']); $Jahr = str_replace(">", "", $GET_arr['Jahr']);
$Jahr = str_replace("<", "", $GET_arr['Jahr']); $Jahr = str_replace("<", "", $Jahr);
$Where .= ($first?"":" AND ").'year '.((substr($GET_arr['Jahr'],0,1) == ">")?">":"").((substr($GET_arr['Jahr'],0,1) == "<")?"<":"").'="'.$Jahr.'"'; $Where .= ($first?"":" AND ").'year '.((substr($GET_arr['Jahr'],0,1) == ">")?">":"").((substr($GET_arr['Jahr'],0,1) == "<")?"<":"").'="'.$Jahr.'"';
}else if(strpos($GET_arr['Jahr'], ",")>0){ }else if(strpos($GET_arr['Jahr'], ",")>0){
$jahrArr = explode(",", $GET_arr['Jahr']); $jahrArr = explode(",", $GET_arr['Jahr']);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment