From 7cf4c0ee13748bda97f9192484170509de7d5603 Mon Sep 17 00:00:00 2001 From: stes Date: Wed, 6 Sep 2017 15:58:37 +0300 Subject: [PATCH] reply --- views/artbox_comment_item.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/artbox_comment_item.php b/views/artbox_comment_item.php index 76457c0..db7c1f1 100755 --- a/views/artbox_comment_item.php +++ b/views/artbox_comment_item.php @@ -56,7 +56,7 @@
user->isGuest && $reply) { + if (!\Yii::$app->user->isGuest && $reply && \Yii::$app->user->id != $model->customer_id) { ?>