Fix warning about array_flip

This commit is contained in:
nathangray 2017-04-20 10:04:38 -06:00
parent 4221dfbdd6
commit 29fa25a0b0

View File

@ -317,7 +317,7 @@ class infolog_ui
if(!$query['action']) if(!$query['action'])
{ {
Api\Cache::setSession('infolog', $query['session_for'].'session_data', 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['actions'] = $this->get_actions($query);
$query['row_id'] = 'info_id'; $query['row_id'] = 'info_id';