Patch to fix the response if no configured status is detected. collab/Callender/sip_circ_status_fix
authorSteven Callender <stevecallender@esilibrary.com>
Tue, 8 May 2012 21:15:14 +0000 (17:15 -0400)
committerSteven Callender <stevecallender@esilibrary.com>
Tue, 8 May 2012 21:15:14 +0000 (17:15 -0400)
commitb08c8bd9b23ba2ab6b9554f6a1735778e344d936
treeda942babf97209f578d603b6a423dc8a4fb22ac2
parentb52dac83fd59f45e94dcf05c5b9c633c4ad05135
Patch to fix the response if no configured status is detected.

SIP response messages that use circulation_status where defaulting to just 1 rather than 01 if the status was not detected. Since SIP needs a 2 character response, this was causing issues in some 3rd party devices. Added quoting around the 01 to force the 2 characters.

Signed-off-by: Steven Callender <stevecallender@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/SIP/Item.pm