MDL-58092 grading methods: Fix double escape for freq used questions
authorgthomas2 <gthomas@moodlerooms.com>
Mon, 27 Feb 2017 13:49:37 +0000 (13:49 +0000)
committerMarina Glancy <marina@moodle.com>
Fri, 24 Mar 2017 05:21:27 +0000 (13:21 +0800)
grade/grading/form/guide/renderer.php

index a0466f5..1292a9e 100644 (file)
@@ -249,7 +249,7 @@ class gradingform_guide_renderer extends plugin_renderer_base {
                 foreach ($comments as $id => $comment) {
                     $commentoption = new stdClass();
                     $commentoption->id = $id;
-                    $commentoption->description = s($comment['description']);
+                    $commentoption->description = $comment['description'];
                     $commentoptions[] = $commentoption;
                 }