Permalink
Browse files

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

…ODLE_23_STABLE
  • Loading branch information...
2 parents 502ecc4 + a44c303 commit f2b4305c8e54b187bcfb25a8ff980c53093a9c81 @danpoltawski danpoltawski committed Jul 2, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/navigationlib.php
View
@@ -1924,6 +1924,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 f2b4305

Please sign in to comment.