]> git.koha-community.org Git - koha.git/commit
Bug 10265: (QA follow-up) Make if-else checks consistent
authorJoonas Kylmälä <joonas.kylmala@iki.fi>
Sun, 5 Sep 2021 12:10:17 +0000 (12:10 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 16 Sep 2021 07:54:05 +0000 (21:54 -1000)
commit053b19db85de318fae1dfe544cae5e076073e899
tree6c0261f076ddc0a986751f6d7b6c5b86aa8b3a25
parentd32f41bda06adfa448d24d2632ed58c65c94bf8f
Bug 10265: (QA follow-up) Make if-else checks consistent

The != '' version doesn't check for the whitespace existing and thus
might have added the punctuation without the partNumber or partName being
inserted at all.

Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 179ce7d99728f1cbd552e9920062d6c7c98036d6)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl
koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl