Commit b6fb254b authored by Nico Schallehn's avatar Nico Schallehn

test

parent dfe1a544
...@@ -70,7 +70,7 @@ class MediaDBViewerAPI{ ...@@ -70,7 +70,7 @@ class MediaDBViewerAPI{
} }
if(isset($GET_arr['GenreID']) ){ if(isset($GET_arr['GenreID']) ){
$Query = 'SELECT group_concat(fg.imdbID) AS imdbIDs FROM FilmGenre AS fg JOIN Genre AS g ON fg.genreID = g.genreID WHERE g.genreID IN ('.$GET_arr['GenreID'].') '; $Query = 'SELECT group_concat(fg.imdbID) AS imdbIDs FROM FilmGenre AS fg JOIN Genre AS g ON fg.genreID = g.genreID WHERE g.genreID IN ('.$GET_arr['GenreID'].') ';
echo $Query; //echo $Query;
$Genre = $this->DB_Objekt->query($Query); $Genre = $this->DB_Objekt->query($Query);
if($this->DB_Objekt->error != ""){ return $this->error(1005, $this->DB_Objekt->error);} if($this->DB_Objekt->error != ""){ return $this->error(1005, $this->DB_Objekt->error);}
$GenreArr = $Genre->fetch_array(); $GenreArr = $Genre->fetch_array();
...@@ -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