Merge branch 'MDL-29327_none_24' of git://github.com/andyjdavis/moodle into MOODLE_24_STABLE

This commit is contained in:
Sam Hemelryk
2013-01-07 09:35:07 +13:00
+1 -7
View File
@@ -273,12 +273,6 @@ class grade_edit_tree {
$root = true;
}
$row_count_offset = 0;
if (empty($category_total_item) && !$this->moving) {
$row_count_offset = -1;
}
$levelclass = "level$level";
$courseclass = '';
@@ -297,7 +291,7 @@ class grade_edit_tree {
$headercell->scope = 'row';
$headercell->attributes['title'] = $object->stripped_name;
$headercell->attributes['class'] = 'cell rowspan ' . $levelclass;
$headercell->rowspan = $row_count+1+$row_count_offset;
$headercell->rowspan = $row_count + 1;
$row->cells[] = $headercell;
foreach ($this->columns as $column) {