From daea16ee8c96b18ba7d302b3b5e6c1aae8aa4784 Mon Sep 17 00:00:00 2001 From: flashwave Date: Sat, 3 Oct 2020 03:17:06 +0200 Subject: [PATCH] Fixed syntax error in forum/post.php. --- public/forum/post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) {