mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Merge pull request #1435 from Fossil01/Fossil01-patch-2
Fix no covers being presented in API results
This commit is contained in:
@@ -109,7 +109,7 @@ class Utility
|
||||
)
|
||||
) {
|
||||
$fileSpec = sprintf($fileSpecTemplate, $options['type'], $options['id'], $options['suffix']);
|
||||
$fileSpec = file_exists(storage_path('covers').$fileSpec) ? $fileSpec :
|
||||
$fileSpec = file_exists(storage_path('covers/').$fileSpec) ? $fileSpec :
|
||||
sprintf($fileSpecTemplate, $options['type'], 'no', $options['suffix']);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user