Skip to content
Snippets Groups Projects
Verified Commit a74032fc authored by Damien's avatar Damien
Browse files

FEAT #8953 TIME 0:15 Email entities restriction

parent 2f625507
Branches
Tags
No related merge requests found
......@@ -123,7 +123,7 @@ $userTemplates = \SrcCore\models\DatabaseModel::select([
'select' => ['distinct t.template_id', 't.template_label', 't.template_content'],
'table' => ['templates t', 'templates_association ta'],
'left_join' => ['t.template_id = ta.template_id'],
'where' => ['t.template_target = \'sendmail\'', '(ta.value_field is null or value_field in (?))'],
'where' => ['t.template_target = \'sendmail\'', 'value_field in (?)'],
'data' => [$userEntities],
]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment