mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
fix PHP 8.0 TypeError: Cannot access offset of type string on string
This commit is contained in:
parent
7b042f7259
commit
2d7da57e60
@ -779,6 +779,7 @@ class calendar_so
|
|||||||
}
|
}
|
||||||
if(isset($params['sql_filter']['cal_id']))
|
if(isset($params['sql_filter']['cal_id']))
|
||||||
{
|
{
|
||||||
|
if (!is_array($params['query'])) $params['query'] = [];
|
||||||
$params['query']['cal_id'] = $params['sql_filter']['cal_id'];
|
$params['query']['cal_id'] = $params['sql_filter']['cal_id'];
|
||||||
$where[] = $this->db->column_data_implode(", ", [$this->cal_table.'.cal_id' => $params['sql_filter']['cal_id']], True, False);
|
$where[] = $this->db->column_data_implode(", ", [$this->cal_table.'.cal_id' => $params['sql_filter']['cal_id']], True, False);
|
||||||
unset($params['sql_filter']['cal_id']);
|
unset($params['sql_filter']['cal_id']);
|
||||||
|
Loading…
Reference in New Issue
Block a user