diff --git a/app/Helpers/Helper.php b/app/Helpers/Helper.php index a6d40ed..b945a41 100644 --- a/app/Helpers/Helper.php +++ b/app/Helpers/Helper.php @@ -23,6 +23,11 @@ public static function get_from_imdb_py($path, $selection, $rememberMinutes = 60 $fullIds = array(); + if (count($fullIds) == 0) + { + return []; + } + foreach ($ids as $id) { $fullIds[] = rtrim(str_ireplace("/title/", "", $id), "/");