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

github.com/nextcloud/survey_client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2016-08-19 00:40:56 +0300
committerArthur Schiwon <blizzz@arthur-schiwon.de>2016-08-19 00:40:56 +0300
commite120e4c0007e9a2ec5236393a6f827eb65dcd4c8 (patch)
treec7332d34bb079fda74c315c19d94e6ff036dcd3b /lib
parent9ae9f7b0dff3730e072c4220f7931a05ba239302 (diff)
fix encryption enabled check
Diffstat (limited to 'lib')
-rw-r--r--lib/Categories/Encryption.php2
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',
];