Skip to content

Commit

Permalink
MDL-19583 Showing outcomes in user report if enabled at site level. M…
Browse files Browse the repository at this point in the history
…erged from MOODLE_19_STABLE
  • Loading branch information
nicolasconnault committed Jun 23, 2009
1 parent 16a2a41 commit ec3f204
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grade/report/user/lib.php
Expand Up @@ -107,7 +107,7 @@ public function __construct($courseid, $gpr, $context, $userid) {
$this->switch = grade_get_setting($this->courseid, 'aggregationposition', $CFG->grade_aggregationposition);

// Grab the grade_tree for this course
$this->gtree = new grade_tree($this->courseid, false, $this->switch, false, true);
$this->gtree = new grade_tree($this->courseid, false, $this->switch, false, !$CFG->enableoutcomes);

// Determine the number of rows and indentation
$this->maxdepth = 1;
Expand Down

0 comments on commit ec3f204

Please sign in to comment.