diff --git a/lib/outputlib.php b/lib/outputlib.php index 63145e81d33..087cf36215a 100644 --- a/lib/outputlib.php +++ b/lib/outputlib.php @@ -3363,7 +3363,7 @@ class moodle_core_renderer extends moodle_renderer_base { if (!($row instanceof html_table_row)) { $newrow = new html_table_row(); - foreach ($row as $key => $item) { + foreach ($row as $unused => $item) { $cell = new html_table_cell(); $cell->text = $item; $newrow->cells[] = $cell;