From 267c6da2882bf44db3e957c1c91f542498774566 Mon Sep 17 00:00:00 2001 From: stes Date: Fri, 15 Sep 2017 15:16:57 +0300 Subject: [PATCH] returnUrl in feedback --- 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 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