From 3ef1279ab700c5baee9988befe997cfa315a8404 Mon Sep 17 00:00:00 2001 From: emlam Date: Mon, 24 Jul 2023 15:59:17 +0000 Subject: [PATCH] Bug 34280: (QA follow-up) perltidy Signed-off-by: Emily Lamancusa Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 80db7c05b8e393556138878b10ec506062d5eac7) Signed-off-by: Fridolin Somers --- Koha/Patron.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/Patron.pm b/Koha/Patron.pm index 4a29c76f80..6937ea904a 100644 --- a/Koha/Patron.pm +++ b/Koha/Patron.pm @@ -1442,7 +1442,7 @@ sub first_valid_email_address { C4::Context->preference('EmailFieldPrecedence'); for my $field (@fields) { $email = $self->$field; - last if ( $email ); + last if ($email); } return $email; -- 2.39.5