Set false if null
This commit is contained in:
parent
a4005b8fa5
commit
a17210516a
|
@ -430,6 +430,9 @@ class QvitterAction extends ApiAction
|
||||||
if($disable_keyboard_shortcuts == '1' || $disable_keyboard_shortcuts == 1) {
|
if($disable_keyboard_shortcuts == '1' || $disable_keyboard_shortcuts == 1) {
|
||||||
$disable_keyboard_shortcuts = true;
|
$disable_keyboard_shortcuts = true;
|
||||||
}
|
}
|
||||||
|
if (is_null($disable_keyboard_shortcuts)) {
|
||||||
|
$disable_keyboard_shortcuts = false;
|
||||||
|
}
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
//
|
//
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user