Commit 26ca15df72eee1812c1ad46fc6ec1182a915ec5c

Authored by Anastasia
1 parent 39771e4d

bug fix

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
views/artbox_comment_item.php
@@ -126,7 +126,7 @@ @@ -126,7 +126,7 @@
126 </div> 126 </div>
127 <div class="artbox_child_tools comment-panel"> 127 <div class="artbox_child_tools comment-panel">
128 <?php 128 <?php
129 - if (!\Yii::$app->user->isGuest && $reply) { 129 + if (!\Yii::$app->user->isGuest && $reply && \Yii::$app->user->id != $child->customer_id) {
130 ?> 130 ?>
131 <a href="" class="btn-comm-answer" data-action="reply"><?php echo \Yii::t( 131 <a href="" class="btn-comm-answer" data-action="reply"><?php echo \Yii::t(
132 'artbox-comment', 132 'artbox-comment',