summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/files_external/lib/ftp.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_external/lib/ftp.php b/apps/files_external/lib/ftp.php
index 650ca88fd93..5b90e3049b7 100644
--- a/apps/files_external/lib/ftp.php
+++ b/apps/files_external/lib/ftp.php
@@ -19,8 +19,8 @@ class OC_FileStorage_FTP extends OC_FileStorage_StreamWrapper{
$this->host=$params['host'];
$this->user=$params['user'];
$this->password=$params['password'];
- if(isset($params['secure'])){
- if(is_string($params['secure'])){
+ if(isset($params['secure'])) {
+ if(is_string($params['secure'])) {
$this->secure = ($params['secure'] === 'true');
}else{
$this->secure = (bool)$params['secure'];