Fix warning about array_flip

This commit is contained in:
nathangray 2017-04-20 10:04:38 -06:00
parent abb5ffd508
commit 733ceeec4b

View File

@ -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';