]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-15498: Completion system: progress report had problems with HTML code in activity...
authorsam_marshall <sam_marshall>
Thu, 21 Aug 2008 16:43:33 +0000 (16:43 +0000)
committersam_marshall <sam_marshall>
Thu, 21 Aug 2008 16:43:33 +0000 (16:43 +0000)
course/report/progress/index.php

index 1d1cbf87d6d9ef9f5bba1425dc669dbe0de4b33c..0548b625cc3a10cf23c3078b12a2d6460560c6a1 100644 (file)
@@ -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) {