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:43:53 +0000 (09:43 -0400)
commit5be6256b524d3114c3b701135d37309303787e23
tree94b25bb0829648767cc2547df0b7feda4b5bc193
parent68469120836c06dc5f244d905d35c487049e1825
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