forked from extern/egroupware
Handle VFS full path when generating VFS select contents
This commit is contained in:
parent
08b4627c6a
commit
4d8a55fb17
@ -416,6 +416,11 @@ class Vfs extends File
|
||||
}
|
||||
}
|
||||
}
|
||||
//handle VFS full path
|
||||
if ($params['path'][0] != '/' && substr($params['path'], 0, 13) == Api\Vfs::PREFIX)
|
||||
{
|
||||
$params['path'] = substr($params['path'], 13);
|
||||
}
|
||||
|
||||
if (!is_array($content))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user