summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/Lib/Storage/FTP.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-05-10 14:12:58 +0200
committerMorris Jobke <hey@morrisjobke.de>2017-08-01 13:56:12 +0200
commit7a62fbd205874355abb3b551b182bc61b9c3d3e1 (patch)
tree8fba151653401d4af74f2091fb7d2e6add45f00e /apps/files_external/lib/Lib/Storage/FTP.php
parente30287cf814bca99b01561df0e60fb00c59ade42 (diff)
downloadnextcloud-server-7a62fbd205874355abb3b551b182bc61b9c3d3e1.tar.gz
nextcloud-server-7a62fbd205874355abb3b551b182bc61b9c3d3e1.zip
Fix comparisons in the files external app
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/files_external/lib/Lib/Storage/FTP.php')
-rw-r--r--apps/files_external/lib/Lib/Storage/FTP.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/lib/Lib/Storage/FTP.php b/apps/files_external/lib/Lib/Storage/FTP.php
index 22fe2090f30..1bbdfaba468 100644
--- a/apps/files_external/lib/Lib/Storage/FTP.php
+++ b/apps/files_external/lib/Lib/Storage/FTP.php
@@ -56,7 +56,7 @@ class FTP extends StreamWrapper{
$this->secure = false;
}
$this->root=isset($params['root'])?$params['root']:'/';
- if ( ! $this->root || $this->root[0]!='/') {
+ if ( ! $this->root || $this->root[0]!=='/') {
$this->root='/'.$this->root;
}
if (substr($this->root, -1) !== '/') {