mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
Filemanager: Fix anonymous upload directory always reported failure when uploading
Now it works first time the file is uploaded
This commit is contained in:
parent
3aaf0b2b60
commit
06af22a46c
@ -1791,7 +1791,6 @@ class filemanager_ui
|
||||
$path = $info['dirname'] . '/'. $info['filename'] . " ($i)." . $info['extension'];
|
||||
$i++;
|
||||
}
|
||||
$data['path'] = $path;
|
||||
break;
|
||||
case 'ask':
|
||||
default:
|
||||
@ -1811,6 +1810,7 @@ class filemanager_ui
|
||||
|
||||
try
|
||||
{
|
||||
$data['path'] = $path;
|
||||
if(Vfs::copy_uploaded($tmp_path, $path, $props, false))
|
||||
{
|
||||
++$arr['files'];
|
||||
|
Loading…
Reference in New Issue
Block a user