Set false if null

This commit is contained in:
SENOO, Ken 2022-10-15 16:16:44 +09:00
parent a4005b8fa5
commit a17210516a

View File

@ -430,6 +430,9 @@ class QvitterAction extends ApiAction
if($disable_keyboard_shortcuts == '1' || $disable_keyboard_shortcuts == 1) {
$disable_keyboard_shortcuts = true;
}
if (is_null($disable_keyboard_shortcuts)) {
$disable_keyboard_shortcuts = false;
}
} catch (Exception $e) {
//
}