Update General.php

This commit is contained in:
themohooks 2024-07-18 18:23:20 +03:00
parent 51f3d115a1
commit 0cf86d11bb

View file

@ -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 = 'Нет';