* [bug#57854] fix the array data for thinkmulticolumn.

This commit is contained in:
wangzemei
2024-12-09 09:21:27 +08:00
committed by 刘刚
parent 7f18a99ab1
commit 1906ed61ea
+1 -1
View File
@@ -60,7 +60,7 @@ class thinkMulticolumn extends thinkQuestion
$item = new stdClass();
foreach($data as $key => $values)
{
$values = (array)$values;
$values = json_decode(json_encode($values), true);
$name = "result[$key]";
$item->$name = isset($values[$i]) ? $values[$i] : '';
}