mirror of
https://github.com/standardebooks/web.git
synced 2025-07-06 23:00:28 -04:00
Fix bug from porting the logic from TitleWithCreditsHtml and ContributorsHtml
This commit is contained in:
parent
415faeb19d
commit
252d17340f
1 changed files with 1 additions and 1 deletions
|
@ -472,7 +472,7 @@ class Ebook{
|
|||
$this->_ContributorsHtml .= ' illustrated by ' . Ebook::GenerateContributorList($this->Illustrators, false) . ';';
|
||||
}
|
||||
|
||||
if($this->_ContributorsHtml !== null){
|
||||
if(!empty($this->_ContributorsHtml)){
|
||||
$this->_ContributorsHtml = ucfirst(rtrim(trim($this->_ContributorsHtml), ';'));
|
||||
|
||||
if(substr(strip_tags($this->_ContributorsHtml), -1) != '.'){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue