[Koha-bugs] [Bug 30409] barcodedecode() should always trim barcode
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Mar 31 16:37:45 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30409
Peter Vashchuk <stalkernoid at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #132693|0 |1
is obsolete| |
--- Comment #2 from Peter Vashchuk <stalkernoid at gmail.com> ---
Created attachment 132781
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132781&action=edit
Bug 30409: barcodedecode() should always trim barcode
Barcode is trimmed of leading/trailing whitespaces in many instances
before the barcodedecode sub was called. This patch instead makes that
barcodedecode sub is going to trim it itself and removes unnecessary,
and repetitive code that was used before barcodedecode was called.
With this addition, filet "whitespace" was removed from barcodedecode
sub, as it's going to be always trimmed from now on anyway.
Also changed tests to fit the way barcodedecode works currently.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list