diff --git a/views/artbox_comment_list.php b/views/artbox_comment_list.php index 31d47f1..612d929 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_'] and $more['key'] != $comments->count){ + if ($index == ($comments->count-1) and $more['show_'] and $more['key'] < $comments->count){ return "Скрыть комментарии"; } -- libgit2 0.21.4