* Calendar: fixed SQL error in list-view

This commit is contained in:
Ralf Becker 2015-08-27 08:22:46 +00:00
parent 509d47bbce
commit 3a309cee11

View File

@ -383,14 +383,14 @@ class calendar_uilist extends calendar_ui
$col_filter = array();
foreach($params['col_filter'] as $name => $val)
{
if ($name != 'participants' && (string)$val !== '')
if (!in_array($name, array('participant','row_id')) && (string)$val !== '')
{
$col_filter[$name] = $val;
}
}
}
$rows = $js_integration_data = array();
foreach((array) $this->bo->search($search_params, !empty($col_filter) ? $col_filter : null) as $event)
{
$this->to_client($event);