mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
* Calendar: fixed SQL error in list-view
This commit is contained in:
parent
509d47bbce
commit
3a309cee11
@ -383,14 +383,14 @@ class calendar_uilist extends calendar_ui
|
|||||||
$col_filter = array();
|
$col_filter = array();
|
||||||
foreach($params['col_filter'] as $name => $val)
|
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;
|
$col_filter[$name] = $val;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$rows = $js_integration_data = array();
|
$rows = $js_integration_data = array();
|
||||||
|
|
||||||
foreach((array) $this->bo->search($search_params, !empty($col_filter) ? $col_filter : null) as $event)
|
foreach((array) $this->bo->search($search_params, !empty($col_filter) ? $col_filter : null) as $event)
|
||||||
{
|
{
|
||||||
$this->to_client($event);
|
$this->to_client($event);
|
||||||
|
Loading…
Reference in New Issue
Block a user