summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/files_external/lib/sftp.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_external/lib/sftp.php b/apps/files_external/lib/sftp.php
index 398f59c7db9..be10fa59a62 100644
--- a/apps/files_external/lib/sftp.php
+++ b/apps/files_external/lib/sftp.php
@@ -59,8 +59,8 @@ class SFTP extends \OC\Files\Storage\Common {
}
//deals with server:port
- $HasPort = strpos($this->host,':');
- if($HasPort != false) {
+ $hasPort = strpos($this->host,':');
+ if($hasPort != false) {
$pieces = explode(":", $this->host);
$this->host = $pieces[0];
$this->port = $pieces[1];