Skip to content

Commit

Permalink
Merge pull request #102 from onigoetz/main
Browse files Browse the repository at this point in the history
The PDF Author can sometimes be an empty string
  • Loading branch information
ewilan-riviere authored Jan 18, 2025
2 parents b0da812 + 6974ecc commit 414b932
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Formats/Pdf/PdfModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function toEbook(): Ebook

$author = $this->meta?->getAuthor();

if ($author !== null) {
if ($author !== null && $author !== '') {
$authors = EbookUtils::parseStringWithSeperator($author);

$creators = [];
Expand Down

0 comments on commit 414b932

Please sign in to comment.