Lines 80-86
if (
Link Here
|
80 |
|
80 |
|
81 |
# If 'AutoEmailOpacUser' syspref is on, email user their account details from the 'notice' that matches the user's branchcode. |
81 |
# If 'AutoEmailOpacUser' syspref is on, email user their account details from the 'notice' that matches the user's branchcode. |
82 |
if ( C4::Context->preference("AutoEmailOpacUser") ) { |
82 |
if ( C4::Context->preference("AutoEmailOpacUser") ) { |
83 |
#look for defined primary email address, if blank - attempt to use borr.email and borr.emailpro instead |
83 |
# Look up correct email address taking AutoEmailPrimaryAddress into account |
84 |
my $emailaddr = $patron->notice_email_address; |
84 |
my $emailaddr = $patron->notice_email_address; |
85 |
# if we manage to find a valid email address, send notice |
85 |
# if we manage to find a valid email address, send notice |
86 |
if ($emailaddr) { |
86 |
if ($emailaddr) { |
87 |
- |
|
|