Merge branch 'MDL-42460-master' of git://github.com/marinaglancy/moodle

This commit is contained in:
Dan Poltawski 2016-02-23 14:36:54 +00:00
commit fef5360053

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