mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 10:26:40 +02:00
fomrat_string() tuning - memory, speed and accuracy in cron; backported from HEAD
This commit is contained in:
parent
1b94c6e4b7
commit
b8b21c5d2a
1 changed files with 1 additions and 1 deletions
|
@ -1419,7 +1419,7 @@ function format_string ($string, $striplinks = false, $courseid=NULL ) {
|
||||||
}
|
}
|
||||||
|
|
||||||
//init course id
|
//init course id
|
||||||
if ($courseid === NULL) {
|
if (empty($courseid)) {
|
||||||
$courseid = $COURSE->id;
|
$courseid = $COURSE->id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue