fixed a warning

This commit is contained in:
toyomoyo 2007-06-22 08:35:23 +00:00
parent 3b631edabe
commit b5fc272c3c

View File

@ -111,8 +111,11 @@ if ($gradetree = new grade_tree($courseid)) {
$data[] = '';
/// prints notes
$data[] = $grade_text->feedback;
if (!empty($grade_text->feedback)) {
$data[] = $grade_text->feedback;
} else {
$data[] = ' ';
}
$table->add_data($data);
}