Changeset View
Changeset View
Standalone View
Standalone View
core/units/email_templates/email_template_eh.php
Show First 20 Lines • Show All 237 Lines • ▼ Show 20 Line(s) | |||||
$config->setFields($fields); | $config->setFields($fields); | ||||
$ml_helper = $this->Application->recallObject('kMultiLanguageHelper'); | $ml_helper = $this->Application->recallObject('kMultiLanguageHelper'); | ||||
/* @var $ml_helper kMultiLanguageHelper */ | /* @var $ml_helper kMultiLanguageHelper */ | ||||
$ml_helper->replaceMLCalculatedFields($event); | $ml_helper->replaceMLCalculatedFields($event); | ||||
if ( $this->Application->GetVar('regional') ) { | if ( $this->Application->isWebRequest() && $this->Application->GetVar('regional') ) { | ||||
$config->setPopulateMlFields(true); | $config->setPopulateMlFields(true); | ||||
} | } | ||||
} | } | ||||
/** | /** | ||||
* Returns modules, where e-mail event can be added to | * Returns modules, where e-mail event can be added to | ||||
* | * | ||||
* @return Array | * @return Array | ||||
▲ Show 20 Lines • Show All 487 Lines • Show Last 20 Lines |