Fix warning about incorrect parameters to array_flip()

This commit is contained in:
nathangray 2017-04-25 15:53:50 -06:00
parent 4bbfe978dd
commit a63df98b05

View File

@ -833,7 +833,7 @@ class filemanager_ui
if (!$query['csv_export'])
{
Api\Cache::setSession('filemanager', 'index',
array_diff_key ($query, array_flip('rows','actions','action_links','placeholder_actions')));
array_diff_key ($query, array_flip(array('rows','actions','action_links','placeholder_actions'))));
}
if(!$query['path']) $query['path'] = static::get_home_dir();