if($post === false) {
$stillCanEdit = false;
} else {
$stillCanEdit = $postModel->canEditPost($post, $thread, $forum, $errorPhraseKey, $nodePermissions, $viewingUser); // check that the user can edit the first post. if they can't, they also should not be allowed to edit the title
}