Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

… the grader report.
  • Loading branch information...
commit 1565032231fe7282d94f699936f34dfe9285abeb 1 parent d87f45d
@timhunt timhunt authored
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;
Please sign in to comment.
Something went wrong with that request. Please try again.