[HOTFIX] - Email parsing

This commit is contained in:
ivan 2018-05-18 16:52:50 -03:00
parent 7c52aa02bb
commit 5c81b67e7c
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ class InitialMails {
$matches = [];
foreach($texts as $key => $val) {
$matches[] = $templateCode . '_MATCH_' . ($key + 1);
$matches[] = '{{' . $templateCode . '_MATCH_' . ($key + 1) . '}}';
}
return str_replace($matches, $texts, file_get_contents($templateFilePaths[$templateCode]));