Update comments handling in user profile page

This commit is contained in:
DariusIII
2018-04-09 23:17:21 +02:00
parent 68c4dd564a
commit 3a134846d1
3 changed files with 7 additions and 16 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ class ProfileController extends BasePageController
// Pager must be fetched after the variables are assigned to smarty.
$this->smarty->assign(
[
'commentslist' => ReleaseComment::getCommentsForUserRange($userID, $offset, config('nntmux.items_per_page')),
'commentslist' => ReleaseComment::getCommentsForUserRange($userID),
'exccats' => implode(',', UserExcludedCategory::getCategoryExclusionNames($userID)),
'saburl' => $sab->url,
'sabapikey' => $sab->apikey,