]> git.evergreen-ils.org Git - working/NCIPServer.git/commit
A little defensive programming parsing oils_ncip.xml.
authorJason Stephenson <jason@sigio.com>
Mon, 30 Mar 2015 00:19:16 +0000 (20:19 -0400)
committerJason Stephenson <jason@sigio.com>
Mon, 30 Mar 2015 00:19:16 +0000 (20:19 -0400)
commitf6444e0bede64e584663a58c9fe3120ac84f170b
tree2fb3a65dd4bf2c77934487de1b29eeaf65d9a315
parent6d3109085400164a709dac15c740de91c0b19003
A little defensive programming parsing oils_ncip.xml.

If one leaves the <patrons> block alone, one gets the following Perl
error:

Can't use string as a HASH ref while "strict refs" in use at
/home/opensrf/NCIPServer/lib/NCIP/ILS/Evergreen.pm line 2626.

This commit attempts to avoid that.

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