Commit 5e353ac5 authored by Nico Schallehn's avatar Nico Schallehn

test

parent 7f780173
...@@ -80,7 +80,7 @@ class MediaDBViewerAPI{ ...@@ -80,7 +80,7 @@ class MediaDBViewerAPI{
$first = false; $first = false;
} }
if( isset($GET_arr['Genre'])){ if( isset($GET_arr['Genre'])){
$Query = 'SELECT group_concat(fg.imdbID) AS imdbIDs FROM FilmGenre AS fg JOIN Genre AS g ON fg.genreID = g.genreID WHERE g.Genre IN ('.$GET_arr['Genre'].') '; $Query = 'SELECT group_concat(fg.imdbID) AS imdbIDs FROM FilmGenre AS fg JOIN Genre AS g ON fg.genreID = g.genreID WHERE g.gername IN ('.$GET_arr['Genre'].') ';
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);}
......
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