Fixed syntax error in forum/post.php.

This commit is contained in:
flash 2020-10-03 03:17:06 +02:00
parent 33afb35c8e
commit daea16ee8c

View file

@ -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()) {