Commit dda9aaf21f54953f6422b77dd40fb8c6b516a3f8

Authored by Anastasia
1 parent 3dc17ed6

delete customers

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
views/artbox_comment_list.php
... ... @@ -44,7 +44,7 @@
44 44 }
45 45 },
46 46 'afterItem' => function ($model, $key, $index, $widget) use ($more, $comments) {
47   - if ($index == ($comments->count-1) and $more['show_']){
  47 + if ($index == ($comments->count-1) and $more['show_'] and $more['key'] != $comments->count){
48 48  
49 49 return "<a id='hide_more_link' style='cursor:pointer'>Скрыть комментарии</a></div>";
50 50 }
... ...