Fixed syntax error in forum/post.php.
This commit is contained in:
parent
33afb35c8e
commit
daea16ee8c
1 changed files with 1 additions and 1 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Reference in a new issue