]> git.evergreen-ils.org Git - working/NCIPServer.git/commit
Some defensive coding in NCIP::ILS.pm.
authorJason Stephenson <jason@sigio.com>
Thu, 30 Jul 2015 13:38:55 +0000 (09:38 -0400)
committerJason Stephenson <jason@sigio.com>
Thu, 30 Jul 2015 13:38:55 +0000 (09:38 -0400)
commite6a82bdecc0c1e33e00f195f93d9f1bcf2e8277a
tree6cb7d9ffd697b410315255d969980197f7d1e649
parentab22e414d702b9e72f2b80dc7d79bbe3aa890237
Some defensive coding in NCIP::ILS.pm.

XML::LibXML::Simple will return {} for an empty field.  We need to
check this on barcode input, at least, and undef the variable.  This
is done in the base class find_user_barcode and find_item_barcode
methods.

Signed-off-by: Jason Stephenson <jason@sigio.com>
lib/NCIP/ILS.pm