@@ -16,9 +16,12 @@ |
||
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'], ['style' => 'color: #595959']) ?> |
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"> |