View | Details | Raw Unified | Return to bug 19532
Collapse All | Expand All

(-)a/C4/Circulation.pm (-2 / +1 lines)
Lines 1391-1397 sub AddIssue { Link Here
1391
1391
1392
            # Check if a recall
1392
            # Check if a recall
1393
            if ( C4::Context->preference('UseRecalls') ) {
1393
            if ( C4::Context->preference('UseRecalls') ) {
1394
               my $recall = Koha::Recalls->find({ itemnumber => $item->{'itemnumber'}, borrowernumber => $borrower->{'borrowernumber'} });
1394
               my $recall = Koha::Recalls->find({ itemnumber => $item->{'itemnumber'}, borrowernumber => $borrower->{'borrowernumber'}, status => 'W' });
1395
               if (defined $recall) {
1395
               if (defined $recall) {
1396
                   $recall->update({ status => 'F', old => 1 });
1396
                   $recall->update({ status => 'F', old => 1 });
1397
               }
1397
               }
1398
- 

Return to bug 19532