4.1 Beta...ish #12

Merged
timw4mail merged 88 commits from develop into master 2018-11-05 13:15:59 -05:00
Showing only changes of commit 82520afa0e - Show all commits

View File

@ -130,7 +130,12 @@ final class AnimeCollection extends Collection {
foreach($rows as &$row) foreach($rows as &$row)
{ {
$row['genres'] = $genres[$row['hummingbird_id']]; $id = $row['hummingbird_id'];
$row['genres'] = array_key_exists($id, $genres)
? $genres[$id]
: [];
sort($row['genres']); sort($row['genres']);
} }