Commit 76da8f41 authored by Nico Schallehn's avatar Nico Schallehn

test

parent 649a0d1e
...@@ -87,7 +87,7 @@ class MediaDBViewerAPI{ ...@@ -87,7 +87,7 @@ class MediaDBViewerAPI{
$GenreArr = $Genre->fetch_array(); $GenreArr = $Genre->fetch_array();
//echo $GenreArr["imdbIDs"]; //echo $GenreArr["imdbIDs"];
$Where .= (strlen($GenreArr["imdbIDs"])>0?($first?"":" AND ").str_replace(",)", ")", 'imdbID in ('.$GenreArr["imdbIDs"].')'): ($first?" 0 ":"")); $Where .= (strlen($GenreArr["imdbIDs"])>0?($first?"":" AND ").str_replace(",)", ")", 'imdbID in ('.$GenreArr["imdbIDs"].')'): ($first?" 0 ":""));
$first = false; $first = false;
} }
} }
...@@ -116,7 +116,7 @@ class MediaDBViewerAPI{ ...@@ -116,7 +116,7 @@ class MediaDBViewerAPI{
.$this->iset($GET_arr['Order'], " ", " ORDER BY ", " ") .$this->iset($GET_arr['Order'], " ", " ORDER BY ", " ")
.$this->iset($GET_arr['Limit'],"", " Limit "," ") .$this->iset($GET_arr['Limit'],"", " Limit "," ")
.";"; .";";
echo $Query; //echo $Query;
$entrys = $this->DB_Objekt->query($Query); $entrys = $this->DB_Objekt->query($Query);
......
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