Completed
Push — master ( b2ef99...1ef91b )
by Vladimir
02:11
created
src/widgets/views/languages.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,9 +29,12 @@
 block discarded – undo
29 29
             aria-expanded="true">
30 30
         <?php if (!empty($currentLangLabel)): ?>
31 31
             <?= $currentLangLabel ?>
32
-        <?php else: ?>
32
+        <?php else {
33
+    : ?>
33 34
             <?= EmailTemplatesModule::t('Language') ?>
34
-        <?php endif; ?>
35
+        <?php endif;
36
+}
37
+?>
35 38
         <span class="caret"></span>
36 39
     </button>
37 40
     <ul class="dropdown-menu" aria-labelledby="email-template-languages">
Please login to merge, or discard this patch.
src/queries/EmailTemplateQuery.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
      */
37 37
     public function withTranslation($language)
38 38
     {
39
-        return $this->with(['translations' => function ($query) use ($language) {
39
+        return $this->with(['translations' => function($query) use ($language) {
40 40
             /* @var ActiveQuery $query */
41 41
             $query->andWhere(['language' => $language]);
42 42
         }]);
Please login to merge, or discard this patch.