mirror of
https://github.com/claradex/nativegallery.git
synced 2024-11-15 03:31:10 +03:00
Update General.php
This commit is contained in:
parent
51f3d115a1
commit
0cf86d11bb
1 changed files with 1 additions and 1 deletions
|
@ -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 = 'Нет';
|
||||
|
|
Loading…
Reference in a new issue