MDL-15498: Completion system: progress report had issues with long label names

This commit is contained in:
sam_marshall
2008-08-21 16:35:12 +00:00
parent e3e661a20a
commit 82fd829dc3
+3
View File
@@ -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);