From a63df98b05815a682127adfdab17ba7c48a8f068 Mon Sep 17 00:00:00 2001 From: nathangray Date: Tue, 25 Apr 2017 15:53:50 -0600 Subject: [PATCH] Fix warning about incorrect parameters to array_flip() --- filemanager/inc/class.filemanager_ui.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filemanager/inc/class.filemanager_ui.inc.php b/filemanager/inc/class.filemanager_ui.inc.php index ee4cc3e515..6401fad995 100644 --- a/filemanager/inc/class.filemanager_ui.inc.php +++ b/filemanager/inc/class.filemanager_ui.inc.php @@ -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();