diff --git a/src/Service/BookFileSystemManager.php b/src/Service/BookFileSystemManager.php index 292907c7..20fd4e7c 100644 --- a/src/Service/BookFileSystemManager.php +++ b/src/Service/BookFileSystemManager.php @@ -405,7 +405,7 @@ private function extractFromRarArchive(\SplFileInfo $bookFile, Book $book): Book sort($entries); $entries = array_values(array_filter($entries, static function ($entry) { - return str_ends_with($entry, '.jpg') || str_ends_with($entry, '.jpeg') || str_ends_with($entry, '.png'); + return str_ends_with($entry, '.jpg') || str_ends_with($entry, '.JPG') || str_ends_with($entry, '.jpeg') || str_ends_with($entry, '.png'); })); if (count($entries) === 0) { $this->logger->error('no errors');