MDL-72484 report_eventlist: looser check for event 'other' docs.

This commit is contained in:
Paul Holden 2021-09-03 14:46:40 +01:00
parent 214adb7984
commit 0e9b0a4964

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])) {