https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30409

Peter Vashchuk <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #132693|0                           |1
        is obsolete|                            |

--- Comment #2 from Peter Vashchuk <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to