don´t show ugly error message

This commit is contained in:
Frank Karlitschek 2012-03-23 16:48:16 +01:00
parent a191b75c31
commit 7cad6ccce0
1 changed files with 1 additions and 1 deletions

2
lib/helper.php Normal file → Executable file
View File

@ -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;