Fixed incorrect type on latest forum post fetching result.
This commit is contained in:
parent
498ec0cf9a
commit
506d32d210
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ final class SatoriRoutes implements IRouteHandler {
|
|||
'user_id' => (int)$userInfo->getId(),
|
||||
'username' => $userInfo->getName(),
|
||||
'user_colour' => Colour::toMisuzu($userColour),
|
||||
'is_opening_post' => $postInfo->getId() === $firstPostInfo->getId(),
|
||||
'is_opening_post' => $postInfo->getId() === $firstPostInfo->getId() ? 1 : 0,
|
||||
];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue