Skip to content
Snippets Groups Projects
Commit 8d62bb28 authored by Prasad's avatar Prasad
Browse files

Merge branch 'fix_campaign_email_templates' into 'master'

fix #1846 remove unnecessary check for colon in columName. Email template...

Closes #1846

See merge request !1268
parents 0d4217fe e71d31c3
No related branches found
No related tags found
No related merge requests found
......@@ -50,7 +50,7 @@ class EmailTemplate {
for ($i = 0; $i < php7_count($templateVariablePair); $i++) {
$templateVariablePair[$i] = str_replace('$', '', $templateVariablePair[$i]);
list($module, $columnName) = explode('-', $templateVariablePair[$i]);
if(isset($columnName) && strpos($columnName, ':') !== false) {
if(isset($columnName)) {
list($parentColumn, $childColumn) = explode(':', $columnName);
$this->templateFields[$module][] = $parentColumn;
$this->referencedFields[$parentColumn][] = $childColumn;
......
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