Bug 23103: (QA follow-up) Return undef implicitly
authorKyle M Hall <kyle@bywatersolutions.com>
Wed, 19 Jun 2019 11:00:01 +0000 (07:00 -0400)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 21 Jun 2019 11:37:29 +0000 (12:37 +0100)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

C4/Circulation.pm

index 773f570..84349d9 100644 (file)
@@ -2421,7 +2421,7 @@ sub _FixAccountForLostAndReturned {
 
     return unless $accountline->borrowernumber;
     my $patron = Koha::Patrons->find( $accountline->borrowernumber );
-    return undef unless $patron; # Patron has been deleted, nobody to credit the return to
+    return unless $patron; # Patron has been deleted, nobody to credit the return to
 
     my $account = $patron->account;