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

Commit 2350e1c

Browse files
committed
Merge remote-tracking branch 'origin/develop'
2 parents a08446d + 1bafa91 commit 2350e1c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

app/Helpers/Helper.php

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

2424
$fullIds = array();
2525

26-
if (count($fullIds) == 0)
26+
foreach ($ids as $id)
2727
{
28-
return [];
28+
$fullIds[] = rtrim(str_ireplace("/title/", "", $id), "/");
2929
}
3030

31-
foreach ($ids as $id)
31+
if (count($fullIds) == 0)
3232
{
33-
$fullIds[] = rtrim(str_ireplace("/title/", "", $id), "/");
33+
return [];
3434
}
3535

3636
$idStr = join("','", $fullIds);

0 commit comments

Comments
 (0)