mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
fixed a warning
This commit is contained in:
parent
3b631edabe
commit
b5fc272c3c
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user