summaryrefslogtreecommitdiffstats
path: root/lib/helper.php
diff options
context:
space:
mode:
authorFrank Karlitschek <karlitschek@kde.org>2012-03-23 16:48:16 +0100
committerFrank Karlitschek <karlitschek@kde.org>2012-03-23 16:48:16 +0100
commit7cad6ccce0f2fdcfc61e1071cb6373e9d28bcd63 (patch)
tree8bfb7729db99ef4c8f08a2e2ae914ecb18a90680 /lib/helper.php
parenta191b75c3192156c67f45778e05cf88fff42bf50 (diff)
downloadnextcloud-server-7cad6ccce0f2fdcfc61e1071cb6373e9d28bcd63.tar.gz
nextcloud-server-7cad6ccce0f2fdcfc61e1071cb6373e9d28bcd63.zip
don´t show ugly error message
Diffstat (limited to 'lib/helper.php')
-rwxr-xr-x[-rw-r--r--]lib/helper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/helper.php b/lib/helper.php
index 75942f092cf..66f31d929be 100644..100755
--- a/lib/helper.php
+++ b/lib/helper.php
@@ -220,7 +220,7 @@ class OC_Helper {
$fullpath = $path.'/'.$file;
if(is_link($fullpath))
return FALSE;
- elseif(!is_dir($fullpath) && !chmod($fullpath, $filemode))
+ elseif(!is_dir($fullpath) && !@chmod($fullpath, $filemode))
return FALSE;
elseif(!self::chmodr($fullpath, $filemode))
return FALSE;