[Koha-patches] [PATCH 3/7] MT4049: OverdueNotices : missing to_address in emails.

Henri-Damien LAURENT henridamien.laurent at biblibre.com
Wed Jul 7 15:59:00 CEST 2010


Overduenotices were not sent automatically to borrowers, since their adress is not passed as to_adress.
---
 misc/cronjobs/overdue_notices.pl |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/misc/cronjobs/overdue_notices.pl b/misc/cronjobs/overdue_notices.pl
index 4de6cdd..ca4efe7 100755
--- a/misc/cronjobs/overdue_notices.pl
+++ b/misc/cronjobs/overdue_notices.pl
@@ -537,6 +537,7 @@ END_SQL
                                 borrowernumber         => $borrowernumber,
                                 message_transport_type => 'email',
                                 from_address           => $admin_email_address,
+                                to_address             => $email,
                             }
                         );
                     } else {
-- 
1.7.0.4



More information about the Koha-patches mailing list