diff --git a/htdocs/install/mysql/data/llx_c_email_templates.sql b/htdocs/install/mysql/data/llx_c_email_templates.sql index 231c46d8f68..5035d54349f 100644 --- a/htdocs/install/mysql/data/llx_c_email_templates.sql +++ b/htdocs/install/mysql/data/llx_c_email_templates.sql @@ -56,4 +56,4 @@ INSERT INTO llx_c_email_templates (entity, module, type_template, label, lang, p INSERT INTO llx_c_email_templates (entity, module, type_template, lang, private, fk_user, datec, label, position, enabled, active, topic, content, content_lines, joinfiles) VALUES (0, 'supplier_invoice','invoice_supplier_send','',0,null,null,'(SendingReminderEmailOnUnpaidSupplierInvoice)',100, 'isModEnabled("supplier_invoice")',1,'[__[MAIN_INFO_SOCIETE_NOM]__] - __(SupplierInvoice)__','__(Hello)__,

__(SupplierInvoiceUnpaidContent)__
__URL_SUPPLIER_INVOICE__

__(Sincerely)__
__SENDEREMAIL_SIGNATURE__',null, 0); -- Ticket -INSERT INTO llx_c_email_templates (entity, module, type_template, lang, private, fk_user, datec, label, position, enabled, active, topic, content, content_lines, joinfiles) VALUES (0, 'ticket', 'ticket_send', '', 0, null, null, '(SendingAdminEmailMessage)', 100, 'isModEnabled("ticket")', 1, '[__MYCOMPANY_NAME__] __TICKET_EMAIL_SUBJECT__', '__TICKET_EMAIL_BODY__

(Message) :

__TICKET_MESSAGE__


(SeeThisTicketIntomanagementInterface)

', null, 0); \ No newline at end of file +INSERT INTO llx_c_email_templates (entity, module, type_template, lang, private, fk_user, datec, label, position, enabled, active, topic, content, content_lines, joinfiles) VALUES (0, 'ticket', 'ticket_send', '', 0, null, null, '(SendingAdminEmailMessage)', 100, 'isModEnabled("ticket")', 1, '[__[MAIN_INFO_SOCIETE_NOM]__] __TICKET_EMAIL_SUBJECT__', '__TICKET_EMAIL_BODY__

(Message) :

__TICKET_MESSAGE__


(SeeThisTicketIntomanagementInterface)

', null, 0); diff --git a/test/phpunit/CodingSqlTest.php b/test/phpunit/CodingSqlTest.php index 2a2d70d9d99..0710f9691a2 100644 --- a/test/phpunit/CodingSqlTest.php +++ b/test/phpunit/CodingSqlTest.php @@ -157,7 +157,7 @@ class CodingSqlTest extends CommonClassTest // Allow ` for 'rank' column name only $filecontent = str_replace('`rank`', '_rank_', $filecontent); - $filecontent = str_replace(array('["', '"]', '{"', '"}', '("', '")'), '__OKSTRING__', $filecontent); + $filecontent = str_replace(array('["', '"]', '{"', '"}', '("', '")', 'href="', '">'), '__OKSTRING__', $filecontent); // To accept " after the comment tag //$filecontent = preg_replace('/^--.*$/', '', $filecontent); $filecontent = preg_replace('/--.*?\n/', '', $filecontent);