From 71f6a8bcb25f232edc272988030872fa8af98714 Mon Sep 17 00:00:00 2001 From: Sergio Mendolia Date: Tue, 19 Sep 2023 16:58:04 +0200 Subject: [PATCH] use lowercase author letter --- src/Service/BookFileSystemManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Service/BookFileSystemManager.php b/src/Service/BookFileSystemManager.php index a02b3b13..06b8ee09 100644 --- a/src/Service/BookFileSystemManager.php +++ b/src/Service/BookFileSystemManager.php @@ -124,7 +124,7 @@ private function calculateFilePath(Book $book): string $author = mb_strtolower($main); $title = mb_strtolower($this->slugger->slug($book->getTitle())); $serie = null !== $book->getSerie() ? mb_strtolower($this->slugger->slug($book->getSerie())) : null; - $letter = substr($main, 0, 1); + $letter = mb_strtolower(substr($main, 0, 1)); $path = [$letter]; $path[] = $author;