Merge branch 'MDL-72484' of git://github.com/paulholden/moodle

This commit is contained in:
Eloy Lafuente (stronk7) 2021-09-30 23:19:06 +02:00
commit 529a558802

View File

@ -108,7 +108,7 @@ if (!empty($typeparams[2])) {
}
// Retrieving the 'other' event field information.
$otherpattern = "/(\*\s{5}-([\w|\s]*\:[\w|\s|\(|\)|.]*))/";
$otherpattern = "/(\*\s{5,}-([\w|\s]*\:[\w|\s|\(|\)|.]*))/";
$typeparams = array();
preg_match_all($otherpattern, $eventcontents, $typeparams);
if (!empty($typeparams[2])) {