mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 17:06:53 +02:00
MDL-30393 lib/bennu minor fixes for RFC-2445 and PHP 5.x support.
This commit is contained in:
parent
fe41ba7489
commit
95641b4529
3 changed files with 55 additions and 2 deletions
|
@ -54,9 +54,9 @@ class iCalendar_parameter {
|
|||
return rfc2445_is_valid_value($value, RFC2445_TYPE_CAL_ADDRESS);
|
||||
break;
|
||||
|
||||
// These are textual parameters, so the MUST NOT contain double quotes
|
||||
// RFC-2445: can contain quotes.
|
||||
case 'CN':
|
||||
return (strpos($value, '"') === false);
|
||||
return true;
|
||||
break;
|
||||
|
||||
// These have enumerated legal values
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue