From: Kyle M Hall Date: Wed, 19 Jun 2019 11:00:01 +0000 (-0400) Subject: Bug 23103: (QA follow-up) Return undef implicitly X-Git-Url: http://git.equinoxoli.org/?p=koha-equinox.git;a=commitdiff_plain;h=3bf26cfb934cb699839aabb136df09ea97c030bb Bug 23103: (QA follow-up) Return undef implicitly Signed-off-by: Martin Renvoize Signed-off-by: Marcel de Rooy Signed-off-by: Martin Renvoize --- diff --git a/C4/Circulation.pm b/C4/Circulation.pm index 773f570..84349d9 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -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;