Skip to content
Browse files

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

…ODLE_21_STABLE
  • Loading branch information...
2 parents 0a6a6a9 + bded2e9 commit a3039b2085a07e898d5dc5356a08acf39b12bb1b @danpoltawski danpoltawski committed Jul 2, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/navigationlib.php
View
2 lib/navigationlib.php
@@ -1636,6 +1636,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 a3039b2

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