Merge pull request #213 from ivandiazwm/master

[HOTFIX] - Email parsing
This commit is contained in:
Ivan Diaz 2018-05-18 16:54:16 -03:00 committed by GitHub
commit 1903ea5757
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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]));