Skip to content

Commit

Permalink
fix PHP warning : array_diff_key(): Argument #2 is not an array on li…
Browse files Browse the repository at this point in the history
…ne 281
  • Loading branch information
ralfbecker committed Apr 10, 2017
1 parent 500e212 commit 17a7356
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion calendar/inc/class.calendar_uilist.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ function get_rows(&$params,&$rows,&$readonlys)
if (!$params['csv_export'])
{
Api\Cache::setSession('calendar', 'calendar_list',
array_diff_key ($params, array_flip('rows', 'actions', 'action_links', 'placeholder_actions')));
array_diff_key ($params, array_flip(array('rows', 'actions', 'action_links', 'placeholder_actions'))));
}
// do we need to query custom fields and which
// Check stored preference if selectcols isn't available (ie: first call)
Expand Down

0 comments on commit 17a7356

Please sign in to comment.