Index: temp_moodle_dev/moodle/mod/quiz/comment.php =================================================================== diff -u -rb5e67f63747b4bb7072b78923d250396e77140f2 -r89659faa9ee2ac5d9c25fa5524f6925d923f00b3 --- temp_moodle_dev/moodle/mod/quiz/comment.php (.../comment.php) (revision b5e67f63747b4bb7072b78923d250396e77140f2) +++ temp_moodle_dev/moodle/mod/quiz/comment.php (.../comment.php) (revision 89659faa9ee2ac5d9c25fa5524f6925d923f00b3) @@ -74,14 +74,14 @@ notify(get_string('changessaved')); echo '
"; - - print_footer(); + //we pass a new parameter to the function so it won't we printed if is_lams=1 + print_footer(null,null, false,$quiz->is_lams); exit; } } question_print_comment_box($question, $state, $attempt, $CFG->wwwroot.'/mod/quiz/comment.php'); + //we pass a new parameter to the function so it won't we printed if is_lams=1 + print_footer(null,null, false,$quiz->is_lams); - print_footer(); - ?>