[Koha-bugs] [Bug 28553] Patrons can be set to receive auto_renew notices as SMS, but Koha does not generate them

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Sep 13 08:46:16 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28553

--- Comment #9 from David Cook <dcook at prosentient.com.au> ---
(In reply to David Cook from comment #7)
> ::: misc/cronjobs/automatic_renewals.pl
> @@ +234,5 @@
> >              );
> > +        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';
> 
> This is wrong. Instead of 'sms', it should be 'email'.

I'll shortly attach a follow-up patch to fix this.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list