Skip to content

Commit

Permalink
Remove redundant comma in issue identification string #20
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitaliy-1 committed Mar 19, 2019
1 parent 169b421 commit a88cd2e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ClassicThemePlugin.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,8 @@ public function loadIssueData($hookName, $args) {
$issueIdentificationString .= $templateMgr->smartyTranslate(array('key' =>'plugins.themes.classic.volume-abbr'), $templateMgr) . " " . $issue->getVolume();
}
if ($issue->getNumber() && $issue->getShowNumber()) {
$issueIdentificationString .= ", " . $templateMgr->smartyTranslate(array('key' =>'plugins.themes.classic.number-abbr'), $templateMgr) . " " . $issue->getNumber();
if ($issue->getVolume() && $issue->getShowVolume()) $issueIdentificationString .= ", ";
$issueIdentificationString .= $templateMgr->smartyTranslate(array('key' =>'plugins.themes.classic.number-abbr'), $templateMgr) . " " . $issue->getNumber();
}
if ($issue->getYear() && $issue->getShowYear()) {
if ($issueIdentificationString !== null) {
Expand Down

0 comments on commit a88cd2e

Please sign in to comment.