diff --git a/app/Controllers/Api/Images/Upload.php b/app/Controllers/Api/Images/Upload.php index e8bbd58..54866b6 100644 --- a/app/Controllers/Api/Images/Upload.php +++ b/app/Controllers/Api/Images/Upload.php @@ -19,7 +19,7 @@ class Upload { $user = new \App\Models\User(Auth::userid()); if (NGALLERY['root']['photo']['upload']['premoderation'] === true) { - if ($user->content('premoderation') === "true") { + if ($user->content('premoderation') === "true" || $user->i('admin') > 0) { $moderated = 1; } else { $moderated = 0;