From 485c1dd5bd09803df906d77801318092d8310431 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 18 Apr 2016 16:25:49 +0100 Subject: [PATCH] Bug 15705: Add is_tt param to the new letter --- installer/data/mysql/atomicupdate/bug_XXXXX.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installer/data/mysql/atomicupdate/bug_XXXXX.sql b/installer/data/mysql/atomicupdate/bug_XXXXX.sql index f98566c..fed41f4 100644 --- a/installer/data/mysql/atomicupdate/bug_XXXXX.sql +++ b/installer/data/mysql/atomicupdate/bug_XXXXX.sql @@ -1,7 +1,7 @@ ALTER TABLE issues ADD COLUMN auto_renew_error VARCHAR(16) DEFAULT NULL AFTER auto_renew; ALTER TABLE old_issues ADD COLUMN auto_renew_error VARCHAR(16) DEFAULT NULL AFTER auto_renew; -INSERT INTO letter (module, code, name, title, content, message_transport_type) VALUES ('circulation', 'AUTO_RENEWALS', 'notification on auto renewing', 'Auto renewals', +INSERT INTO letter (module, code, name, title, content, message_transport_type, is_tt) VALUES ('circulation', 'AUTO_RENEWALS', 'notification on auto renewing', 'Auto renewals', "Dear [% borrower.firstname %] [% borrower.surname %], [% IF checkout.auto_renew_error %] The following item [% biblio.title %] has not been correctly renewed @@ -20,4 +20,4 @@ You have too much unpaid fines. [% END %] [% ELSE %] The following item [% biblio.title %] as correctly been renewed. -[% END %]", 'email'); +[% END %]", 'email', 1); -- 2.7.0