Hello - I just upgraded to moodle 1.8 and the students grades (in student view) are not displaying properly. Instead of displaying the categories, weights, etc, it is displaying activity grades only.
- Mo ollek
I am having the same problem. It occurred immediately after upgrading to moodle 1.8.
Don't know if it's "proper", but it seems to work ok, now.
I found the following lines of code in grade/lib.php (they appear twice!):
I found the following lines of code in grade/lib.php (they appear twice!):
// if can't see course grades, print single grade view if (!has_capability('moodle/course:viewcoursegrades', $context)) { return print_student_grade($USER, $course); }and changed both sets to
// if can't see course grades, print single grade view if (!has_capability('moodle/course:viewcoursegrades', $context)) { $view_by_student = $USER->id; }This fixed my problem. I don't know if it's a band-aid or a real solution. I know very little about PHP.
Hey you know enough to fix the problem - thanks -- problem solved.
- mo ollek
- mo ollek