From: sam_marshall Date: Thu, 21 Aug 2008 16:43:33 +0000 (+0000) Subject: MDL-15498: Completion system: progress report had problems with HTML code in activity... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=d352141e60b323bce3b51638d0ea58270b3a3997;p=moodle.git MDL-15498: Completion system: progress report had problems with HTML code in activity names causing invalid/broken html output --- diff --git a/course/report/progress/index.php b/course/report/progress/index.php index 1d1cbf87d6..0548b625cc 100644 --- a/course/report/progress/index.php +++ b/course/report/progress/index.php @@ -210,7 +210,7 @@ foreach($progress as $user) { $a->state=$describe; $a->date=$date; $a->user=fullname($user); - $a->activity=$activity->name; + $a->activity=strip_tags($activity->name); $fulldescribe=get_string('progress-title','completion',$a); if($csv) {