mirror of
https://github.com/moodle/moodle.git
synced 2025-03-22 00:20:37 +01:00
Merge branch 'MDL-73052-401' of https://github.com/sarjona/moodle into MOODLE_401_STABLE
This commit is contained in:
commit
f5e4dcf609
@ -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'] = '';
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user