From 154566ae3730385762ab0be765a3a22a1cdbc5dc Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sun, 6 Mar 2022 12:19:34 +0000 Subject: [PATCH] Bug 30214: (QA follow-up) Clarify code comment Signed-off-by: Katrin Fischer Signed-off-by: Fridolin Somers Signed-off-by: Kyle M Hall --- opac/opac-registration-verify.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opac/opac-registration-verify.pl b/opac/opac-registration-verify.pl index 6587d30d90..99651eef5c 100755 --- a/opac/opac-registration-verify.pl +++ b/opac/opac-registration-verify.pl @@ -80,7 +80,7 @@ if ( # If 'AutoEmailOpacUser' syspref is on, email user their account details from the 'notice' that matches the user's branchcode. if ( C4::Context->preference("AutoEmailOpacUser") ) { - #look for defined primary email address, if blank - attempt to use borr.email and borr.emailpro instead + # Look up correct email address taking AutoEmailPrimaryAddress into account my $emailaddr = $patron->notice_email_address; # if we manage to find a valid email address, send notice if ($emailaddr) { -- 2.39.5