From 4716ce14596163ee077fdd809ee7557eaa092955 Mon Sep 17 00:00:00 2001 From: ralf Date: Thu, 8 Jun 2023 22:14:41 +0200 Subject: [PATCH] fixing the fix ;) --- filemanager/inc/class.filemanager_ui.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/filemanager/inc/class.filemanager_ui.inc.php b/filemanager/inc/class.filemanager_ui.inc.php index bbb5e16aa9..7412c6242e 100644 --- a/filemanager/inc/class.filemanager_ui.inc.php +++ b/filemanager/inc/class.filemanager_ui.inc.php @@ -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)