diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2016-08-19 00:40:56 +0300 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2016-08-19 00:40:56 +0300 |
commit | e120e4c0007e9a2ec5236393a6f827eb65dcd4c8 (patch) | |
tree | c7332d34bb079fda74c315c19d94e6ff036dcd3b /lib | |
parent | 9ae9f7b0dff3730e072c4220f7931a05ba239302 (diff) |
fix encryption enabled check
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Categories/Encryption.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Categories/Encryption.php b/lib/Categories/Encryption.php index 72334d4..42648d6 100644 --- a/lib/Categories/Encryption.php +++ b/lib/Categories/Encryption.php @@ -65,7 +65,7 @@ class Encryption implements ICategory { */ public function getData() { $data = [ - 'enabled' => $this->config->getAppValue('core', 'encryption_enabled', 'no') ? 'yes' : 'no', + 'enabled' => $this->config->getAppValue('core', 'encryption_enabled', 'no') === 'yes' ? 'yes' : 'no', 'default_module' => $this->config->getAppValue('core', 'default_encryption_module') === 'OC_DEFAULT_MODULE' ? 'yes' : 'no', ]; |