MDL-15498: Completion system: progress report had issues with long label names
This commit is contained in:
@@ -139,6 +139,9 @@ foreach($activities as $activity) {
|
||||
} else {
|
||||
$datetext='';
|
||||
}
|
||||
|
||||
// Some names (labels) come URL-encoded and can be very long, so shorten them
|
||||
$activity->name=shorten_text(urldecode($activity->name));
|
||||
|
||||
if($csv) {
|
||||
print $sep.csv_quote($activity->name).$sep.csv_quote($datetext);
|
||||
|
||||
Reference in New Issue
Block a user