Skip to content
Browse files

grades: MDL-22098 silly bug that leads to bad performance problems in…

… the grader report.
  • Loading branch information...
1 parent d87f45d commit 1565032231fe7282d94f699936f34dfe9285abeb @timhunt timhunt committed Apr 15, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/grade/grade_item.php
View
2 lib/grade/grade_item.php
@@ -883,7 +883,7 @@ function get_item_category() {
* @return object Grade_category
*/
function load_item_category() {
- if (empty($this->category->id)) {
+ if (empty($this->item_category->id)) {
$this->item_category = $this->get_item_category();
}
return $this->item_category;

0 comments on commit 1565032

Please sign in to comment.
Something went wrong with that request. Please try again.