Passed
Push — master ( d36889...34a8e1 )
by Mihail
04:41
created
Apps/View/Front/default/widgets/newcomment/default.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,9 +16,12 @@
 block discarded – undo
16 16
             <i class="fa fa-user"></i>
17 17
             <?php if ((int)$comment['user']['id'] > 0): ?>
18 18
                 <?= Url::a(['profile/show', [$comment['user']['id']]], $comment['user']['name']) ?>
19
-            <?php else: ?>
19
+            <?php else {
20
+    : ?>
20 21
                 <?= $comment['user']['name'] ?>
21
-            <?php endif; ?>
22
+            <?php endif;
23
+}
24
+?>
22 25
         </div>
23 26
         <div class="col-md-6 pull-right">
24 27
             <small class="text-secondary pull-right">
Please login to merge, or discard this patch.
Apps/View/Front/default/widgets/comments/show.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -77,7 +77,8 @@  discard block
 block discarded – undo
77 77
             </div>
78 78
             <?php if (\App::$Captcha->isFull()): ?>
79 79
                 <div class="col-md-offset-3 col-md-9"><?= \App::$Captcha->get() ?></div>
80
-            <?php else: ?>
80
+            <?php else {
81
+    : ?>
81 82
                 <div class="form-group">
82 83
                     <label for="guest-captcha" class="col-sm-3 control-label"><?= __('Captcha') ?>:</label>
83 84
                     <div class="col-sm-9">
@@ -85,7 +86,9 @@  discard block
 block discarded – undo
85 86
                         <input id="guest-captcha" type="text" name="captcha" class="form-control" required>
86 87
                     </div>
87 88
                 </div>
88
-            <?php endif; ?>
89
+            <?php endif;
90
+}
91
+?>
89 92
         <?php endif; ?>
90 93
         <textarea class="form-control wysiwyg" name="message"></textarea>
91 94
     </form>
Please login to merge, or discard this patch.