Fixed topic read status check.
This commit is contained in:
parent
1da6470928
commit
2d0f083e1a
1 changed files with 1 additions and 1 deletions
|
@ -314,7 +314,7 @@ foreach($postInfos as $postInfo) {
|
|||
|
||||
$canReply = !$topicIsArchived && !$topicIsLocked && !$topicIsDeleted && $perms->check(Perm::F_POST_CREATE);
|
||||
|
||||
if(!$forum->checkUserHasReadTopic($userInfo, $topicInfo))
|
||||
if(!$forum->checkUserHasReadTopic($currentUser, $topicInfo))
|
||||
$forum->incrementTopicView($topicInfo);
|
||||
|
||||
$forum->updateUserReadTopic($currentUser, $topicInfo);
|
||||
|
|
Loading…
Reference in a new issue