diff --git a/public/forum/post.php b/public/forum/post.php index 4bef354c..e76411a3 100644 --- a/public/forum/post.php +++ b/public/forum/post.php @@ -30,7 +30,7 @@ if(!empty($postMode) && !UserSession::hasCurrent()) { return; } -$currentUser = User::getCurrent(): +$currentUser = User::getCurrent(); $currentUserId = $currentUser === null ? 0 : $currentUser->getId(); if(isset($currentUser) && $currentUser->isBanned()) {