diff options
author | Björn Schießle <schiessle@owncloud.com> | 2013-05-27 18:03:29 +0200 |
---|---|---|
committer | Björn Schießle <schiessle@owncloud.com> | 2013-05-27 18:03:29 +0200 |
commit | c81e34ef899617d4c0280bd3b19d5ef7da31d158 (patch) | |
tree | f871521059dbba44db2135affbc1e45a319b3ccd /apps/files_encryption/ajax/adminrecovery.php | |
parent | 5d32e214b7c91d3710c46f522d82104cbad5b837 (diff) | |
download | nextcloud-server-c81e34ef899617d4c0280bd3b19d5ef7da31d158.tar.gz nextcloud-server-c81e34ef899617d4c0280bd3b19d5ef7da31d158.zip |
replace == with ===
Diffstat (limited to 'apps/files_encryption/ajax/adminrecovery.php')
-rw-r--r-- | apps/files_encryption/ajax/adminrecovery.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_encryption/ajax/adminrecovery.php b/apps/files_encryption/ajax/adminrecovery.php index d532bb62b64..9375e27913a 100644 --- a/apps/files_encryption/ajax/adminrecovery.php +++ b/apps/files_encryption/ajax/adminrecovery.php @@ -21,7 +21,7 @@ $return = false; $recoveryKeyId = OC_Appconfig::getValue('files_encryption', 'recoveryKeyId'); -if (isset($_POST['adminEnableRecovery']) && $_POST['adminEnableRecovery'] == 1) { +if (isset($_POST['adminEnableRecovery']) && $_POST['adminEnableRecovery'] === "1") { $return = \OCA\Encryption\Helper::adminEnableRecovery($recoveryKeyId, $_POST['recoveryPassword']); $action = "enable"; |