diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-02-19 17:19:54 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-02-19 17:19:54 +0100 |
commit | 75a7bcb10cf441e4e07a7ade76c91d88574da336 (patch) | |
tree | f057e6f59e33033896b6d1ef9c99df0fc75894b6 /apps/files_encryption/ajax/getMigrationStatus.php | |
parent | df58eea93fb969a60b6cf4e9fca0fd2173b406a0 (diff) | |
parent | cbe31fbf5775382d7de6f22b25e4ab798b895d0f (diff) | |
download | nextcloud-server-75a7bcb10cf441e4e07a7ade76c91d88574da336.tar.gz nextcloud-server-75a7bcb10cf441e4e07a7ade76c91d88574da336.zip |
Merge pull request #14199 from owncloud/cast-type-manually
Manually type-cast all AJAX files
Diffstat (limited to 'apps/files_encryption/ajax/getMigrationStatus.php')
-rw-r--r-- | apps/files_encryption/ajax/getMigrationStatus.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_encryption/ajax/getMigrationStatus.php b/apps/files_encryption/ajax/getMigrationStatus.php index bb260199b19..ef3eb9fb10d 100644 --- a/apps/files_encryption/ajax/getMigrationStatus.php +++ b/apps/files_encryption/ajax/getMigrationStatus.php @@ -11,8 +11,8 @@ use OCA\Files_Encryption\Util; \OCP\JSON::checkAppEnabled('files_encryption'); -$loginname = isset($_POST['user']) ? $_POST['user'] : ''; -$password = isset($_POST['password']) ? $_POST['password'] : ''; +$loginname = isset($_POST['user']) ? (string)$_POST['user'] : ''; +$password = isset($_POST['password']) ? (string)$_POST['password'] : ''; $migrationStatus = Util::MIGRATION_COMPLETED; |