]> 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)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 10 Sep 2021 12:09:09 +0000 (08:09 -0400)
commit179ce7d99728f1cbd552e9920062d6c7c98036d6
tree2899d8c5f628ad8f9bd276d95cc86352b3b8d19d
parenta9d66c087a2cd609b3181472ae47377df1d0a840
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>
koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl
koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl