Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/user_sql.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Łojewski <marcin.lojewski@mlojewski.me>2018-12-25 12:01:53 +0300
committerMarcin Łojewski <marcin.lojewski@mlojewski.me>2018-12-25 12:01:53 +0300
commit7f84113bca305b16a8520dfc5baf66fa14e6106b (patch)
treea806aafd700df0cc62330a66a36f608b89d01d31 /lib/Controller
parenta3a2a90d875f5549f0a331eb0bd654b33a907aab (diff)
Handle 0s and 1s
Diffstat (limited to 'lib/Controller')
-rw-r--r--lib/Controller/SettingsController.php2
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;
}
}