From b08ebce2141f0ff474537512305be6639f36d542 Mon Sep 17 00:00:00 2001 From: flashwave Date: Sun, 1 Dec 2024 01:37:53 +0000 Subject: [PATCH] Fixed omegadumb oversight. --- public-legacy/forum/posting.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public-legacy/forum/posting.php b/public-legacy/forum/posting.php index f3f2e63..5abd411 100644 --- a/public-legacy/forum/posting.php +++ b/public-legacy/forum/posting.php @@ -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);