From: toyomoyo Date: Wed, 18 Jul 2007 08:39:50 +0000 (+0000) Subject: fixing 2 typos X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=5ea4345b722ec5b2ce3a8e2fdceba10bbba0190d;p=moodle.git fixing 2 typos --- diff --git a/grade/report/grader/lib.php b/grade/report/grader/lib.php index 68057d9772..ebf07662bc 100644 --- a/grade/report/grader/lib.php +++ b/grade/report/grader/lib.php @@ -804,7 +804,7 @@ class grade_report_grader extends grade_report { $displaytype = $averagesdisplaytype; } - if (empty($groupscount[$itemid]) || !isset($groupsum[$item->id])) { + if (empty($groupscount[$item->id]) || !isset($groupsum[$item->id])) { $groupavghtml .= '-'; } else { $sum = $groupsum[$item->id]; @@ -899,7 +899,7 @@ class grade_report_grader extends grade_report { $displaytype = $averagesdisplaytype; } - if (empty($classcount[$itemid]) || !isset($classsum[$item->id])) { + if (empty($classcount[$item->id]) || !isset($classsum[$item->id])) { $gradeavghtml .= '-'; } else { $sum = $classsum[$item->id];