Commit 6b58bb56 authored by Damyon Wiese's avatar Damyon Wiese

Merge branch 'MDL-60965-master' of git://github.com/andrewnicols/moodle

parents f0d9af60 a7d75ba5
...@@ -398,7 +398,7 @@ function print_combined_install_output($processes) { ...@@ -398,7 +398,7 @@ function print_combined_install_output($processes) {
// Show process name in first row. // Show process name in first row.
foreach ($processes as $name => $process) { foreach ($processes as $name => $process) {
// If we don't have enough space to show full run name then show runX. // If we don't have enough space to show full run name then show runX.
if ($lengthofprocessline < strlen($name + 2)) { if ($lengthofprocessline < strlen($name) + 2) {
$name = substr($name, -5); $name = substr($name, -5);
} }
// One extra padding as we are adding | separator for rest of the data. // One extra padding as we are adding | separator for rest of the data.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment