This will allow (hopefully) the self check to know that a renewal was
attempted on checkout failure (if the flag is set).
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
# Checkout failed
# Checkout Response: not ok, no renewal, don't know mag. media,
# no desensitize
- $resp = sprintf("120NUN%s", Sip::timestamp);
+ $resp = sprintf("120%sUN%s", sipbool($status->renew_ok), Sip::timestamp);
$resp .= add_field(FID_INST_ID, $inst);
$resp .= add_field(FID_PATRON_ID, $patron_id);
$resp .= add_field(FID_ITEM_ID, $item_id);