Commit c71bead2 authored by Nico Schallehn's avatar Nico Schallehn

test

parent 74c614f7
...@@ -120,7 +120,7 @@ class MediaDBViewerAPI{ ...@@ -120,7 +120,7 @@ class MediaDBViewerAPI{
$Query = 'SELECT group_concat(g.engname) AS Genre FROM FilmGenre AS fg JOIN Genre AS g ON fg.genreID = g.genreID WHERE fg.imdbID="'.$tempArray["imdbID"].'" '; $Query = 'SELECT group_concat(g.engname) AS Genre FROM FilmGenre AS fg JOIN Genre AS g ON fg.genreID = g.genreID WHERE fg.imdbID="'.$tempArray["imdbID"].'" ';
$Genre = $this->DB_Objekt->query($Query); $Genre = $this->DB_Objekt->query($Query);
//if(isset($this->DB_Objekt->error)){ return $this->error(1005, $this->DB_Objekt->error);} if(isset($this->DB_Objekt->error)){ return $this->error(1005, $this->DB_Objekt->error);}
$GenreArr = $Genre->fetch_array(); $GenreArr = $Genre->fetch_array();
$tempArray["Genre"] = explode(",", $GenreArr["Genre"]); $tempArray["Genre"] = explode(",", $GenreArr["Genre"]);
......
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