@@ -6,7 +6,7 @@ use Battles\User;
session_start();
require_once "functions.php";
$user = $user ?? new User($_SESSION['uid']);
if ($user->level < 4 && $user->level > 10) {
if ($user->getLevel() < 4 && $user->getLevel() > 10) {
header('location: main.php?act=none');
exit;
}
The note is not visible to the blocked user.