fixing the fix ;)

This commit is contained in:
ralf 2023-06-08 22:14:41 +02:00
parent ac4090b068
commit 26228d137b

View File

@ -1019,9 +1019,9 @@ class filemanager_ui
if($query['col_filter']['path'] && $vfs_options['name'])
{
// Query the requested path, in case it's nested
if(!is_array($query['col_filter']['dir']))
if(!is_array($query['col_filter']['path']))
{
$query['col_filter']['dir'] = $query['col_filter']['dir'] ? [$query['col_filter']['dir']] : [];
$query['col_filter']['path'] = $query['col_filter']['path'] ? [$query['col_filter']['path']] : [];
}
$query['col_filter']['path'][] = $query['path'];
foreach($query['col_filter']['path'] as $filter_path)