mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
Handle selected columns as string or array without warning
This commit is contained in:
parent
b16c32714a
commit
8816fd6e0f
@ -906,7 +906,7 @@ class infolog_so
|
||||
$index_load_cfs && $query['col_filter']['info_type'] && in_array($query['col_filter']['info_type'],$index_load_cfs)))
|
||||
{
|
||||
$where = array('info_id' => array_keys($ids));
|
||||
if (!($query['csv_export'] || strchr(implode(',',$query['selectcols']),'#') === false ||
|
||||
if (!($query['csv_export'] || strchr(is_array($query['selectcols'] ? implode(',',$query['selectcols']):$query['selectcols']),'#') === false ||
|
||||
$index_load_cfs && $query['col_filter']['info_type'] && in_array($query['col_filter']['info_type'],$index_load_cfs)))
|
||||
{
|
||||
$where['info_extra_name'] = array();
|
||||
|
Loading…
Reference in New Issue
Block a user