mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
Merge branch 'MDL-33814-master' of git://github.com/FMCorz/moodle
This commit is contained in:
commit
e1d7771b0f
@ -1577,9 +1577,10 @@ class html_writer {
|
||||
if (!($row instanceof html_table_row)) {
|
||||
$newrow = new html_table_row();
|
||||
|
||||
foreach ($row as $item) {
|
||||
$cell = new html_table_cell();
|
||||
$cell->text = $item;
|
||||
foreach ($row as $cell) {
|
||||
if (!($cell instanceof html_table_cell)) {
|
||||
$cell = new html_table_cell($cell);
|
||||
}
|
||||
$newrow->cells[] = $cell;
|
||||
}
|
||||
$row = $newrow;
|
||||
|
Loading…
x
Reference in New Issue
Block a user