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:
parent
d2a2e4a8d5
commit
3bf26cfb93
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue