Skip to content
This repository was archived by the owner on Jan 1, 2021. It is now read-only.

Commit 52a4fab

Browse files
committed
Fixed: Empty imdb list selecting all movies without an imdbid
Fixes Radarr/Radarr#2428
1 parent 78da15f commit 52a4fab

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

app/Helpers/Helper.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ public static function get_from_imdb_py($path, $selection, $rememberMinutes = 60
2323

2424
$fullIds = array();
2525

26+
if (count($fullIds) == 0)
27+
{
28+
return [];
29+
}
30+
2631
foreach ($ids as $id)
2732
{
2833
$fullIds[] = rtrim(str_ireplace("/title/", "", $id), "/");

0 commit comments

Comments
 (0)