Merge branch 'MDL-73052-402' of https://github.com/sarjona/moodle into MOODLE_402_STABLE
This commit is contained in:
+1
-1
@@ -59,7 +59,7 @@ $PAGE->set_url('/mod/page/view.php', array('id' => $cm->id));
|
||||
$options = empty($page->displayoptions) ? [] : (array) unserialize_array($page->displayoptions);
|
||||
|
||||
$activityheader = ['hidecompletion' => false];
|
||||
if (empty($options['printintro']) || !trim(strip_tags($page->intro))) {
|
||||
if (empty($options['printintro'])) {
|
||||
$activityheader['description'] = '';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user