Permalink
Browse files

Merge branch 'MDL-29327_none_24' of git://github.com/andyjdavis/moodl…

…e into MOODLE_24_STABLE
  • Loading branch information...
2 parents 1565171 + b164a89 commit 2c6b79365b937b2fe6596bf6e28ab5e82b866ac2 Sam Hemelryk committed Jan 6, 2013
Showing with 1 addition and 7 deletions.
  1. +1 −7 grade/edit/tree/lib.php
View
@@ -273,12 +273,6 @@ public function build_html_tree($element, $totals, $parents, $level, &$row_count
$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 @@ public function build_html_tree($element, $totals, $parents, $level, &$row_count
$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) {

0 comments on commit 2c6b793

Please sign in to comment.