mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:56 +01:00
Fix list of favorites in VfsSelect contains previous selected contents as well
This commit is contained in:
parent
6d51130cc6
commit
8bf0763c1f
@ -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