LP#1752334: (follow-up) adjust to allow "0" as a note
authorGalen Charlton <gmc@equinoxOLI.org>
Fri, 31 Mar 2023 13:43:53 +0000 (09:43 -0400)
committerGalen Charlton <gmc@equinoxOLI.org>
Fri, 31 Mar 2023 13:48:58 +0000 (09:48 -0400)
commit6b1cf2621a379180274578688b3d0fddadbe8da0
tree3da3416ec6e6458888695b17d55381f593dde0af
parentf1a8cd623aa30951392e903df6bb26669a571604
LP#1752334: (follow-up) adjust to allow "0" as a note

Also ignore the additional note parameter if all it has
are zero or more whitespace characters.

It's unlikely that a client would want to set the additional
note to "0", but it's nonetheless a good idea to distinguish
between difference versions of Perl's false value.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/src/perlmods/lib/OpenILS/Utils/BadContact.pm
Open-ILS/src/perlmods/live_t/36-lp1752334-badcontact.t