Users: Fix saving settings

:3
This commit is contained in:
Maxim Leshchenko 2021-12-26 16:06:57 +02:00 committed by GitHub
parent 91429437f8
commit 08c4d961f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -376,7 +376,6 @@ final class UserPresenter extends OpenVKPresenter
"menu_grupoj" => "groups",
"menu_novajoj" => "news",
"menu_ligiloj" => "links",
"menu_audioj" => "audios",
];
foreach($settings as $checkbox => $setting)
$user->setLeftMenuItemStatus($setting, $this->checkbox($checkbox));