forked from extern/egroupware
Empty ENCODING and CHARSET
This commit is contained in:
parent
e9a7336a35
commit
91f0b9ad9d
@ -891,7 +891,10 @@ class Horde_iCalendar {
|
||||
if ($params) {
|
||||
foreach ($params as $param_name => $param_value) {
|
||||
/* Skip CHARSET for iCalendar 2.0 data, not allowed. */
|
||||
if ($param_name == 'CHARSET' && !$this->isOldFormat()) {
|
||||
if ($param_name == 'CHARSET' && (!$this->isOldFormat() || empty($param_value))) {
|
||||
continue;
|
||||
}
|
||||
if ($param_name == 'ENCODING' && empty($param_value)) {
|
||||
continue;
|
||||
}
|
||||
/* Skip VALUE=DATE for vCalendar 1.0 data, not allowed. */
|
||||
|
Loading…
Reference in New Issue
Block a user