diff --git a/blocks/course_summary/block_course_summary.php b/blocks/course_summary/block_course_summary.php index fb9a23c35fe..69e00e40466 100644 --- a/blocks/course_summary/block_course_summary.php +++ b/blocks/course_summary/block_course_summary.php @@ -11,6 +11,10 @@ class CourseBlock_course_summary extends MoodleBlock { function get_content() { global $USER, $CFG; + if($this->content !== NULL) { + return $this->content; + } + $this->content = New object; $this->content->text = ''; $this->content->footer = '';