Commit cfd055cc authored by Nico Schallehn's avatar Nico Schallehn

test

parent 095a4d56
...@@ -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 .= ($first?"":" AND ").str_replace(",)", ")", 'imdbID in ('.$GenreArr["imdbIDs"].')'); $Where .= (strlen($GenreArr["imdbIDs"])>0?($first?"":" AND ").str_replace(",)", ")", 'imdbID in ('.$GenreArr["imdbIDs"].')'):"");
$first = false; $first = false;
} }
} }
......
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