mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
Fix list of favorites in VfsSelect contains previous selected contents as well
This commit is contained in:
parent
e1609978f7
commit
1ecfab062a
@ -455,6 +455,7 @@ class Vfs extends File
|
||||
$files = array();
|
||||
$favorites = \EGroupware\Api\Framework\Favorites::get_favorites('filemanager');
|
||||
$n = 0;
|
||||
$content['dir'] = array();
|
||||
foreach($favorites as $favorite)
|
||||
{
|
||||
$path = $favorite['state']['path'];
|
||||
|
Loading…
Reference in New Issue
Block a user