MDL-42460 mod_feedback: Fix markup validation

This commit is contained in:
Michael Milette
2016-02-22 22:41:32 +08:00
committed by Marina Glancy
parent 83a951023e
commit 89e68e6c1e
+2 -5
View File
@@ -297,15 +297,12 @@ if ($feedback_can_submit) {
$courseid,
sesskey());
/// Print the main part of the page
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
// Print the main part of the page.
$analysisurl = new moodle_url('/mod/feedback/analysis.php', array('id'=>$id));
if ($courseid > 0) {
$analysisurl->param('courseid', $courseid);
}
echo $OUTPUT->heading(format_text($feedback->name));
echo $OUTPUT->heading(format_string($feedback->name));
if ( (intval($feedback->publish_stats) == 1) AND
( has_capability('mod/feedback:viewanalysepage', $context)) AND