diff --git a/grade/edit/tree/lib.php b/grade/edit/tree/lib.php index f49b831d951..a565fe7bf14 100755 --- a/grade/edit/tree/lib.php +++ b/grade/edit/tree/lib.php @@ -865,6 +865,9 @@ class grade_edit_tree_column_multfactor extends grade_edit_tree_column { } public function get_item_cell($item, $params) { + if (!$item->is_raw_used()) { + return ' '; + } $multfactor = ''; return ''.$multfactor.''; } @@ -891,6 +894,9 @@ class grade_edit_tree_column_plusfactor extends grade_edit_tree_column { } public function get_item_cell($item, $params) { + if (!$item->is_raw_used()) { + return ' '; + } $plusfactor = ''; return ''.$plusfactor.'';