Commit 7cf4c0ee13748bda97f9192484170509de7d5603
1 parent
4477c9f6
reply
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
views/artbox_comment_item.php
... | ... | @@ -56,7 +56,7 @@ |
56 | 56 | </div> |
57 | 57 | <div class="artbox_item_tools comment-panel"> |
58 | 58 | <?php |
59 | - if (!\Yii::$app->user->isGuest && $reply) { | |
59 | + if (!\Yii::$app->user->isGuest && $reply && \Yii::$app->user->id != $model->customer_id) { | |
60 | 60 | ?> |
61 | 61 | <a href="" class="btn-comm-answer" data-action="reply"><?php echo \Yii::t( |
62 | 62 | 'artbox-comment', | ... | ... |