mirror of
https://github.com/moodle/moodle.git
synced 2025-02-15 21:36:58 +01:00
Merge branch 'MDL-30145' of git://github.com/timhunt/moodle
This commit is contained in:
commit
f3bf5eba51
@ -24,6 +24,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
defined('MOODLE_INTERNAL') || die();
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The renderer for the quiz module.
|
* The renderer for the quiz module.
|
||||||
*
|
*
|
||||||
@ -816,7 +819,7 @@ class mod_quiz_renderer extends plugin_renderer_base {
|
|||||||
*/
|
*/
|
||||||
public function quiz_intro($quiz, $cm) {
|
public function quiz_intro($quiz, $cm) {
|
||||||
if (trim(strip_tags($quiz->intro))) {
|
if (trim(strip_tags($quiz->intro))) {
|
||||||
$output .= $this->box(format_module_intro('quiz', $quiz, $cm->id),
|
return $this->box(format_module_intro('quiz', $quiz, $cm->id),
|
||||||
'generalbox', 'intro');
|
'generalbox', 'intro');
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user