Fixed omegadumb oversight.

This commit is contained in:
flash 2024-12-01 01:37:53 +00:00
parent ec2d81a8b1
commit b08ebce214

View file

@ -276,7 +276,7 @@ if($mode === 'edit') { // $post is pretty much sure to be populated at this poin
}
$post->isOriginalPost = $originalPostInfo->id == $postInfo->id;
$post->isOriginalPoster = $originalPostInfo->userId !== null && $postInfo->userId !== nul
$post->isOriginalPoster = $originalPostInfo->userId !== null && $postInfo->userId !== null
&& $originalPostInfo->userId === $postInfo->userId;
Template::set('posting_post', $post);