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

github.com/nextcloud/richdocuments.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTorge Kummerow <CySlider@users.noreply.github.com>2020-06-09 03:33:53 +0300
committerGitHub <noreply@github.com>2020-06-09 03:33:53 +0300
commit1da6317f892bd9d81a8ae5437576af0af5855ca9 (patch)
tree08850bdf95579af58120a8514e90649f7dd0a3da /lib
parent509785cff5057784b345ada5d908a03649a28a5b (diff)
Fix saving 'disable certificate verification'
The value is never fully equal to 'true', so checking this option is never saved. Instead it is fully equal to the boolean value true
Diffstat (limited to 'lib')
-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 108dbfe1..99476a74 100644
--- a/lib/Controller/SettingsController.php
+++ b/lib/Controller/SettingsController.php
@@ -147,7 +147,7 @@ class SettingsController extends Controller{
if ($disable_certificate_verification !== null) {
$this->appConfig->setAppValue(
'disable_certificate_verification',
- $disable_certificate_verification === 'true' ? 'yes' : ''
+ $disable_certificate_verification === true ? 'yes' : ''
);
}