MDL-20636 fix question flag icons on the review page.

This commit is contained in:
Tim Hunt 2011-05-26 19:27:38 +01:00
parent 0500a3a92d
commit 61e2c3fb3f

View file

@ -246,9 +246,9 @@ class core_question_renderer extends plugin_renderer_base {
$id = 'id="' . $id . '" ';
}
if ($flagged) {
$img = 'flagged.png';
$img = 'flagged';
} else {
$img = 'unflagged.png';
$img = 'unflagged';
}
return '<img ' . $id . 'src="' . $this->pix_url('/i/' . $img) .
'" alt="' . get_string('flagthisquestion', 'question') . '" />';