Skip to content

Commit

Permalink
TW20807488 behat fix
Browse files Browse the repository at this point in the history
  • Loading branch information
learningtechnologyservices committed May 20, 2024
1 parent 2691593 commit 0b50b48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/report.php
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ public function display_table($data, $rubricarray, $csv) {

if ($this->displayremark && $this->displayfeedback) {
$cell = new html_table_cell();
if (is_object($values[3])) {
if (is_object($values[3]) && (!empty($values[3]->feedback))) {
$cell->text = strip_tags($values[3]->feedback);
} // Feedback cell.
if (empty($cell->text)) {
Expand Down

0 comments on commit 0b50b48

Please sign in to comment.