From 0cf86d11bb04be9cc303b109d5b2110e4fa4737a Mon Sep 17 00:00:00 2001 From: themohooks <81331307+themohooks@users.noreply.github.com> Date: Thu, 18 Jul 2024 18:23:20 +0300 Subject: [PATCH] Update General.php --- views/pages/Admin/General.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = 'Нет';