mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-17 02:41:02 +01:00
Fix VFS ajax uploads did not work if path needed expansion
This commit is contained in:
parent
19a67b92fd
commit
fa8f53e6d4
@ -327,6 +327,14 @@ class Vfs extends File
|
||||
}
|
||||
else
|
||||
{
|
||||
if(!is_numeric($id))
|
||||
{
|
||||
$_id = self::expand_name($id,0,0,0,0,self::$request->content);
|
||||
if($_id != $id)
|
||||
{
|
||||
$id = $_id;
|
||||
}
|
||||
}
|
||||
$path = Api\Link::vfs_path($app,$id,'',true);
|
||||
}
|
||||
if (!empty($relpath)) $path .= '/'.$relpath;
|
||||
|
Loading…
Reference in New Issue
Block a user