mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 09:13:19 -04:00
don´t show ugly error message
This commit is contained in:
parent
a191b75c31
commit
7cad6ccce0
1 changed files with 1 additions and 1 deletions
2
lib/helper.php
Normal file → Executable file
2
lib/helper.php
Normal file → Executable 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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue