Tag favorites in select-files as "is_dir" because client-side expects it to be directory

This commit is contained in:
Hadi Nategh 2015-10-16 13:35:08 +00:00
parent 88da09bc80
commit cb2830979c

View File

@ -258,6 +258,7 @@ class filemanager_select
'name' => $favorite['name'], 'name' => $favorite['name'],
'path' => $path, 'path' => $path,
'mime' => $mime, 'mime' => $mime,
'is_dir' => true
); );
if ($content['mode'] == 'open-multiple') if ($content['mode'] == 'open-multiple')
{ {