From: mudrd8mz Date: Thu, 6 Aug 2009 12:49:21 +0000 (+0000) Subject: NOBUG: Fixed conflict in iteration key name X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=f894b82c3b7bbea106938fb038b944c2f67f226e;p=moodle.git NOBUG: Fixed conflict in iteration key name --- diff --git a/lib/outputlib.php b/lib/outputlib.php index 63145e81d3..087cf36215 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;