- Affected version
- 2.1.1
In
Shouldn't this just be
actionComments
, all profile posts on a user are loaded when the code is just interested in the total
PHP:
$profilePosts = $profilePostFinder->where('post_date', '>', $profilePost->post_date)->fetch();
$page = floor($profilePosts->count() / $this->options()->messagesPerPage) + 1;
Shouldn't this just be
->total()
to get the profile post count total?