Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'MDL-31802_22' of git://github.com/aolley/moodle into MO…

…ODLE_22_STABLE
  • Loading branch information...
commit 66f9505a530a3021ab2cbfa3318203a2f1b0f201 2 parents 1d5490d + 66424a6
@danpoltawski danpoltawski authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  lib/navigationlib.php
View
2  lib/navigationlib.php
@@ -1633,6 +1633,8 @@ protected function generate_sections_and_activities(stdClass $course) {
$activities = array();
foreach ($sections as $key => $section) {
+ $sections[$key] = clone($section);
+ unset($sections[$key]->summary);
$sections[$key]->hasactivites = false;
if (!array_key_exists($section->section, $modinfo->sections)) {
continue;

0 comments on commit 66f9505

Please sign in to comment.
Something went wrong with that request. Please try again.