mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
Merge branch 'MDL-77354-master' of https://github.com/HuongNV13/moodle
This commit is contained in:
commit
7839d62111
@ -360,7 +360,7 @@ function print_combined_drop_output($processes) {
|
||||
$op = $process->getIncrementalOutput();
|
||||
if (trim($op)) {
|
||||
$update = preg_filter('#^\s*([FS\.\-]+)(?:\s+\d+)?\s*$#', '$1', $op);
|
||||
$strlentoprint = strlen($update);
|
||||
$strlentoprint = $update ? strlen($update) : 0;
|
||||
|
||||
// If not enough dots printed on line then just print.
|
||||
if ($strlentoprint < $remainingprintlen) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user