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

This commit is contained in:
Paul Holden
2021-09-27 18:21:34 +01:00
parent 1a63bccf46
commit d8a1fab050
+1 -1
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])) {