Fix 500 error on ajax browse

This commit is contained in:
itismadness
2025-09-06 21:15:57 +00:00
committed by Spine
parent 2de542715b
commit ad946fa56a

View File

@@ -49,7 +49,7 @@ class TGroupList extends \Gazelle\Json {
$groupList[] = [
'torrentId' => $torrent->id,
'editionId' => $EditionID,
'artists' => $tgroup->artistRole()->roleList()['main'],
'artists' => $tgroup->artistRole()?->roleList()['main'],
'remastered' => $torrent->isRemastered(),
'remasterYear' => $torrent->remasterYear(),
'remasterRecordLabel' => $torrent->remasterRecordLabel() ?? '',