diff --git a/www/ebooks/ebook.php b/www/ebooks/ebook.php index f8dfd9c6..ef5c4103 100644 --- a/www/ebooks/ebook.php +++ b/www/ebooks/ebook.php @@ -93,7 +93,7 @@ catch(\Exception $ex){ if(sizeof($ebook->Collections) > 0){ ?> foreach($ebook->Collections as $collection){ ?>
if($collection->SequenceNumber !== null){ ?>№ = number_format($collection->SequenceNumber) ?> in the }else{ ?>Part of the } ?> = Formatter::ToPlainText(preg_replace('/^The /ius', '', (string)$collection->Name) ?? '') ?> - if(sizeof($ebook->Collections) == 1 && $collection->Type !== null){ ?> if(substr_compare(mb_strtolower($collection->Name), mb_strtolower($collection->Type), -strlen(mb_strtolower($collection->Type))) !== 0){ ?>= $collection->Type ?> } ?> }else{ ?>collection } ?>
+ if(sizeof($ebook->Collections) == 1 && $collection->Type !== null){ ?> if(substr_compare(mb_strtolower($collection->Name), mb_strtolower($collection->Type), -strlen(mb_strtolower($collection->Type))) !== 0){ ?>= $collection->Type ?> } ?> }else{ ?>collection } ?>. } ?> } ?>