Commit 496ac6ad authored by Nico Schallehn's avatar Nico Schallehn

test

parent d360980f
...@@ -76,7 +76,7 @@ class MediaDBViewerAPI{ ...@@ -76,7 +76,7 @@ class MediaDBViewerAPI{
$GenreArr = $Genre->fetch_array(); $GenreArr = $Genre->fetch_array();
//echo $GenreArr["imdbIDs"]; //echo $GenreArr["imdbIDs"];
$Where .= ($first?"":" AND ").'imdbID in ('.$GenreArr["imdbIDs"].')'; $Where .= ($first?"":" AND ").'imdbID in ('.str_replace(",)", ")", $GenreArr["imdbIDs"]).')';
$first = false; $first = false;
} }
} }
...@@ -105,7 +105,7 @@ class MediaDBViewerAPI{ ...@@ -105,7 +105,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