Fix PHP8 warning
This commit is contained in:
parent
1818ee06c9
commit
83e4a3b92b
1 changed files with 1 additions and 1 deletions
|
@ -1175,7 +1175,7 @@ class libcalendaring extends rcube_plugin
|
|||
|
||||
foreach ($this->ical_parts as $mime_id) {
|
||||
$part = $this->ical_message->mime_parts[$mime_id];
|
||||
$charset = $part->ctype_parameters['charset'] ?: RCUBE_CHARSET;
|
||||
$charset = ($part->ctype_parameters['charset'] ?? '') ?: RCUBE_CHARSET;
|
||||
$this->mail_ical_parser->import($this->ical_message->get_part_body($mime_id, true), $charset);
|
||||
|
||||
// check if the parsed object is an instance of a recurring event/task
|
||||
|
|
Loading…
Add table
Reference in a new issue