disconnecting cstore handle in due_date method after forcing transaction
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 21 Sep 2006 13:52:30 +0000 (13:52 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 21 Sep 2006 13:52:30 +0000 (13:52 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@6175 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/SIP/Item.pm

index 185459c..2c26cee 100644 (file)
@@ -236,6 +236,8 @@ sub due_date {
        my $circ = $e->search_action_circulation(
                { target_copy => $self->{copy}->id, checkin_time => undef } )->[0];
 
+       $e->rollback;
+
        if( !$circ ) {
                syslog('LOG_INFO', "OILS: No open circ found for copy");
                return 0;