Skip to content
Snippets Groups Projects
Commit e3477f74 authored by Florian Azizian's avatar Florian Azizian
Browse files

FIX #14624 TIME 0:15 do not get unaffected email templates

parent 27fbe231
No related branches found
No related tags found
No related merge requests found
......@@ -474,7 +474,7 @@ class TemplateController
$entities = [0];
}
}
$where = ['(templates_association.value_field in (?) OR templates_association.template_id IS NULL)', 'templates.template_type = ?', 'templates.template_target = ?'];
$where = ['templates_association.value_field in (?)', 'templates.template_type = ?', 'templates.template_target = ?'];
$data = [$entities, 'HTML', 'sendmail'];
$templates = TemplateModel::getWithAssociation([
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment