From 5ea4345b722ec5b2ce3a8e2fdceba10bbba0190d Mon Sep 17 00:00:00 2001 From: toyomoyo <toyomoyo> Date: Wed, 18 Jul 2007 08:39:50 +0000 Subject: [PATCH] fixing 2 typos --- grade/report/grader/lib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 .= '<td>-</td>'; } 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 .= '<td>-</td>'; } else { $sum = $classsum[$item->id]; -- 2.39.5