Bug 23091: Add tests for _RestoreOverdueForLostAndFound
[srvgit] / C4 / Circulation.pm
index b55f252..3d40540 100644 (file)
@@ -1552,6 +1552,7 @@ sub AddIssue {
                   );
 
                 if ($lostreturn_policy) {
+
                     if ( $lostreturn_policy eq 'charge' ) {
                         $actualissue //= Koha::Old::Checkouts->search(
                             { itemnumber => $item_unblessed->{itemnumber} },
@@ -2107,6 +2108,7 @@ sub AddReturn {
               );
 
             if ($lostreturn_policy) {
+
                 if ( $lostreturn_policy eq 'charge' ) {
                     $issue //= Koha::Old::Checkouts->search(
                         { itemnumber => $item->itemnumber },