From 29fa25a0b0101b0d6a8f7616078073be39170b16 Mon Sep 17 00:00:00 2001 From: nathangray Date: Thu, 20 Apr 2017 10:04:38 -0600 Subject: [PATCH] Fix warning about array_flip --- infolog/inc/class.infolog_ui.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infolog/inc/class.infolog_ui.inc.php b/infolog/inc/class.infolog_ui.inc.php index ce1eb8a3fd..eeb4cb80df 100644 --- a/infolog/inc/class.infolog_ui.inc.php +++ b/infolog/inc/class.infolog_ui.inc.php @@ -317,7 +317,7 @@ class infolog_ui if(!$query['action']) { Api\Cache::setSession('infolog', $query['session_for'].'session_data', - 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')))); } $query['actions'] = $this->get_actions($query); $query['row_id'] = 'info_id';