Completed
Pull Request — master (#25)
by Geoffry Van
05:55 queued 02:44
created
src/gii/default/email-template.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -68,7 +68,8 @@  discard block
 block discarded – undo
68 68
         ]);
69 69
             <?php endforeach; ?>
70 70
             <?php endif; ?>
71
-            <?php else: ?>
71
+            <?php else {
72
+    : ?>
72 73
             $this->insert($this->translationTableName, [
73 74
             'templateId'    => $templateId,
74 75
             'language'      => Yii::$app->language,
@@ -76,7 +77,9 @@  discard block
 block discarded – undo
76 77
             'body'          => '<?= $generator->body ?>',
77 78
             'hint'          => '<?= $generator->hint ?>',
78 79
         ]);
79
-            <?php endif; ?>
80
+            <?php endif;
81
+}
82
+?>
80 83
 }
81 84
     /**
82 85
      * {@inheritdoc}
Please login to merge, or discard this patch.