Fix covers on details page

This commit is contained in:
DariusIII
2026-02-24 22:14:25 +01:00
parent 5ff202f662
commit 9b628a2e6a
+1 -2
View File
@@ -478,8 +478,7 @@ if (! function_exists('getReleaseCover')) {
if (! empty($imdbid) && $imdbid > 0) {
$coverType = 'movies';
$n = (int) $imdbid;
$coverId = str_pad((string) $imdbid, $n >= 10000000 ? 8 : 7, '0', STR_PAD_LEFT);
$coverId = (string) $imdbid;
} elseif (! empty($musicinfo_id)) {
$coverType = 'music';
$coverId = $musicinfo_id;