aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-06-17 03:09:49 +0200
committerRobin Appelman <icewind@owncloud.com>2012-06-17 03:09:49 +0200
commitad4f066bac5e4d6777b258d6a161ab062211d787 (patch)
tree68e1c8881a9fc7c98ceb64a29d2c0593dff56717 /apps/files_external
parented66c63c29c71c183093b7d34133b4cfb5d64925 (diff)
downloadnextcloud-server-ad4f066bac5e4d6777b258d6a161ab062211d787.tar.gz
nextcloud-server-ad4f066bac5e4d6777b258d6a161ab062211d787.zip
suppress error when using is_dir on non directory in smb backend
Diffstat (limited to 'apps/files_external')
-rw-r--r--apps/files_external/lib/smb.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/lib/smb.php b/apps/files_external/lib/smb.php
index 9db8e9fd982..5e34deb2337 100644
--- a/apps/files_external/lib/smb.php
+++ b/apps/files_external/lib/smb.php
@@ -61,7 +61,7 @@ class OC_FileStorage_SMB extends OC_FileStorage_StreamWrapper{
}
public function filetype($path){
- return (bool)$this->opendir($path);//using opendir causes the same amount of requests and caches the content of the folder in one go
+ return (bool)@$this->opendir($path);//using opendir causes the same amount of requests and caches the content of the folder in one go
}
/**