overdue_notices.pl send no email directly to patron
Something prevents overdue_notices.pl to send message directly to patron email.
This commit is contained in:
parent
f1bc7f4094
commit
afcfb0e8bd
1 changed files with 4 additions and 1 deletions
|
@ -415,7 +415,10 @@ END_SQL
|
|||
$sth->execute(@borrower_parameters);
|
||||
$verbose and warn $borrower_sql . "\n $branchcode | " . $overdue_rules->{'categorycode'} . "\n ($mindays, $maxdays)\nreturns " . $sth->rows . " rows";
|
||||
|
||||
while( my ( $itemcount, $borrowernumber, $firstname, $lastname, $address1, $address2, $city, $postcode, $email ) = $sth->fetchrow ) {
|
||||
while ( my ($itemcount, $borrowernumber, $firstname, $lastname,
|
||||
$address1, $address2, $city, $postcode, $country, $email,
|
||||
$longest_issue ) = $sth->fetchrow )
|
||||
{
|
||||
$verbose and warn "borrower $firstname, $lastname ($borrowernumber) has $itemcount items triggering level $i.";
|
||||
|
||||
my $letter = C4::Letters::getletter( 'circulation', $overdue_rules->{"letter$i"} );
|
||||
|
|
Loading…
Reference in a new issue