Fixed omegadumb oversight.
This commit is contained in:
parent
ec2d81a8b1
commit
b08ebce214
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue