mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 17:48:51 +01:00
fix PHP 8.0 TypeError: Cannot access offset of type string on string
This commit is contained in:
parent
408bcbb26b
commit
2604a077d3
@ -779,6 +779,7 @@ class calendar_so
|
||||
}
|
||||
if(isset($params['sql_filter']['cal_id']))
|
||||
{
|
||||
if (!is_array($params['query'])) $params['query'] = [];
|
||||
$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);
|
||||
unset($params['sql_filter']['cal_id']);
|
||||
|
Loading…
Reference in New Issue
Block a user