Bug 2968 - SIP ACS_STATUS message (98) misreported config.
authorJoe Atzberger <joe.atzberger@liblime.com>
Thu, 19 Feb 2009 16:20:07 +0000 (10:20 -0600)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Wed, 4 Mar 2009 11:47:37 +0000 (12:47 +0100)
commit19708b2069d5702114288fe90f28493756aebe9a
treed52aeb6d6f52192cfde669f8bd69cf4f8e66375e
parentf646bf3afbebbabd865578ce3d2bb8e5fa805354
Bug 2968 - SIP ACS_STATUS message (98) misreported config.

The *_ok methods in ILS.pm were targeting the wrong depth.
This also resolves a longstanding FIXME on to_bool() warning like:
    Argument "\x{66}\x{61}..." isn't numeric in numeric ne (!=) at /ILS.pm line 94.

The example_institution_dump.sh essentially provides the proof test case for this patch.
Run it before/after on SIPconfig.xml where "MAIN" has checkout="true" and checkin="true".
C4/SIP/ILS.pm
C4/SIP/example_institution_dump.sh