Skip to content

Commit

Permalink
Merge branch 'MDL-73052-401' of https://github.com/sarjona/moodle int…
Browse files Browse the repository at this point in the history
…o MOODLE_401_STABLE
  • Loading branch information
snake committed Jun 13, 2023
2 parents a4cc94f + 8caeea5 commit f5e4dcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/page/view.php
Expand Up @@ -59,7 +59,7 @@
$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'] = '';
}

Expand Down

0 comments on commit f5e4dcf

Please sign in to comment.