clearing date if not set.. otherwise the db gets "" which does not work
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 5 Sep 2006 02:46:06 +0000 (02:46 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 5 Sep 2006 02:46:06 +0000 (02:46 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@5939 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm

index 247e3dc..ff2870d 100644 (file)
@@ -1325,6 +1325,7 @@ sub attempt_checkin_hold_capture {
        $hold->clear_fulfillment_lib;
        $hold->clear_expire_time; 
        $hold->clear_cancel_time;
+       $hold->clear_prev_check_time unless $hold->prev_check_time;
 
        $self->bail_on_events($self->editor->event)
                unless $self->editor->update_action_hold_request($hold);