From dda9aaf21f54953f6422b77dd40fb8c6b516a3f8 Mon Sep 17 00:00:00 2001 From: stes Date: Thu, 14 Sep 2017 13:39:23 +0300 Subject: [PATCH] delete customers --- views/artbox_comment_list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/artbox_comment_list.php b/views/artbox_comment_list.php index eae869d..31d47f1 100755 --- a/views/artbox_comment_list.php +++ b/views/artbox_comment_list.php @@ -44,7 +44,7 @@ } }, 'afterItem' => function ($model, $key, $index, $widget) use ($more, $comments) { - if ($index == ($comments->count-1) and $more['show_']){ + if ($index == ($comments->count-1) and $more['show_'] and $more['key'] != $comments->count){ return "Скрыть комментарии"; } -- libgit2 0.21.4