don´t show ugly error message

remotes/origin/stable4
Frank Karlitschek 2012-03-23 16:48:16 +07:00
parent a191b75c31
commit 7cad6ccce0
1 changed files with 1 additions and 1 deletions

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