Bug 23103: (QA follow-up) Return undef implicitly

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>
This commit is contained in:
Kyle M Hall 2019-06-19 07:00:01 -04:00 committed by Martin Renvoize
parent d2a2e4a8d5
commit 3bf26cfb93
No known key found for this signature in database
GPG Key ID: 422B469130441A0F
1 changed files with 1 additions and 1 deletions

View 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;