Bug 28553: (QA follow-up) default to auto renew email when cron switched used
This patch defaults to using "email" rather than "sms" notices when AutoRenewalNotices is set to use the --send-notices cron switch Signed-off-by: David Cook <dcook@prosentient.com.au> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
fef29151e0
commit
88f63e01d2
1 changed files with 1 additions and 1 deletions
|
@ -235,7 +235,7 @@ if ( $send_notices && $confirm ) {
|
|||
for my $issue ( @{ $report{$borrowernumber} } ) {
|
||||
my $item = $issue->item;
|
||||
# Force sending of email and only email if pref is set to "cron"
|
||||
my @transports = $send_notices_pref eq 'preferences' ? keys %{ $borrower_preferences->{'transports'} } : 'sms';
|
||||
my @transports = $send_notices_pref eq 'preferences' ? keys %{ $borrower_preferences->{'transports'} } : 'email';
|
||||
foreach my $transport ( @transports ) {
|
||||
my $letter = C4::Letters::GetPreparedLetter (
|
||||
module => 'circulation',
|
||||
|
|
Loading…
Reference in a new issue