mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-22 10:52:00 +02: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
|
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);
|
$path = Api\Link::vfs_path($app,$id,'',true);
|
||||||
}
|
}
|
||||||
if (!empty($relpath)) $path .= '/'.$relpath;
|
if (!empty($relpath)) $path .= '/'.$relpath;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user