summaryrefslogtreecommitdiffstats
path: root/apps/files_encryption/ajax/adminrecovery.php
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-05-27 18:03:29 +0200
committerBjörn Schießle <schiessle@owncloud.com>2013-05-27 18:03:29 +0200
commitc81e34ef899617d4c0280bd3b19d5ef7da31d158 (patch)
treef871521059dbba44db2135affbc1e45a319b3ccd /apps/files_encryption/ajax/adminrecovery.php
parent5d32e214b7c91d3710c46f522d82104cbad5b837 (diff)
downloadnextcloud-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.php2
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";