diff options
author | Marcin Łojewski <marcin.lojewski@mlojewski.me> | 2018-12-25 12:01:53 +0300 |
---|---|---|
committer | Marcin Łojewski <marcin.lojewski@mlojewski.me> | 2018-12-25 12:01:53 +0300 |
commit | 7f84113bca305b16a8520dfc5baf66fa14e6106b (patch) | |
tree | a806aafd700df0cc62330a66a36f608b89d01d31 /lib/Controller | |
parent | a3a2a90d875f5549f0a331eb0bd654b33a907aab (diff) |
Handle 0s and 1s
Diffstat (limited to 'lib/Controller')
-rw-r--r-- | lib/Controller/SettingsController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Controller/SettingsController.php b/lib/Controller/SettingsController.php index 5532f23..70de2f5 100644 --- a/lib/Controller/SettingsController.php +++ b/lib/Controller/SettingsController.php @@ -399,7 +399,7 @@ class SettingsController extends Controller "CRYPTO_PARAM_" . $key )]; - if (!empty($param)) { + if (!is_null($param)) { $value->value = $param; } } |