diff options
author | Torge Kummerow <CySlider@users.noreply.github.com> | 2020-06-09 03:33:53 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-09 03:33:53 +0300 |
commit | 1da6317f892bd9d81a8ae5437576af0af5855ca9 (patch) | |
tree | 08850bdf95579af58120a8514e90649f7dd0a3da /lib | |
parent | 509785cff5057784b345ada5d908a03649a28a5b (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.php | 2 |
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' : '' ); } |