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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 9 Sep 2021 08:59:38 +0000 (10:59 +0200)
commitf11453e6cc604ae7b5c8b2206216ae41ad7e4f2d
tree54662f21e21be56d512b904bf6f98a36f74e5fa5
parent96c490517242c987ee5049e5b7e4d9c9e9f45cf7
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>
koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl
koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl