diff --git a/views/pages/Admin/General.php b/views/pages/Admin/General.php index 66a0890..095d7d6 100644 --- a/views/pages/Admin/General.php +++ b/views/pages/Admin/General.php @@ -18,7 +18,7 @@ use \App\Models\User; $users = DB::query('SELECT * FROM users'); foreach ($users as $u) { $user = new \App\Models\User($u['id']); - if ($user->content('premoderation') === true) { + if ($user->content('premoderation') === "true") { $prem = 'Да'; } else { $prem = 'Нет';