@@ -54,8 +54,8 @@ |
||
| 54 | 54 | ->scalar(); |
| 55 | 55 | |
| 56 | 56 | <?php |
| 57 | - $module = Yii::$app->getModule('email-templates'); |
|
| 58 | - ?> |
|
| 57 | + $module = Yii::$app->getModule('email-templates'); |
|
| 58 | + ?> |
|
| 59 | 59 | <?php if ($module): ?> |
| 60 | 60 | <?php foreach(\motion\i18n\helpers\LanguageHelper::getInstance()->getLocales() as $language): ?> |
| 61 | 61 | $this->insert($this->translationTableName, [ |
@@ -57,7 +57,7 @@ |
||
| 57 | 57 | $module = Yii::$app->getModule('email-templates'); |
| 58 | 58 | ?> |
| 59 | 59 | <?php if ($module): ?> |
| 60 | - <?php foreach(\motion\i18n\helpers\LanguageHelper::getInstance()->getLocales() as $language): ?> |
|
| 60 | + <?php foreach (\motion\i18n\helpers\LanguageHelper::getInstance()->getLocales() as $language): ?> |
|
| 61 | 61 | $this->insert($this->translationTableName, [ |
| 62 | 62 | 'templateId' => $templateId, |
| 63 | 63 | 'language' => '<?= $language ?>', |