Skip to content

Commit

Permalink
use lowercase author letter
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioMendolia committed Sep 19, 2023
1 parent d58110c commit 71f6a8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Service/BookFileSystemManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 71f6a8b

Please sign in to comment.