mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 20:42:22 +02:00
MDL-72484 report_eventlist: looser check for event 'other' docs.
This commit is contained in:
parent
214adb7984
commit
0e9b0a4964
@ -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])) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user