正在显示
2 个修改的文件
包含
2 行增加
和
2 行删除
@@ -351,7 +351,7 @@ class Almighty extends Backend | @@ -351,7 +351,7 @@ class Almighty extends Backend | ||
351 | $temp = array_combine($fields, $values); | 351 | $temp = array_combine($fields, $values); |
352 | foreach ($temp as $k => $v) { | 352 | foreach ($temp as $k => $v) { |
353 | if (isset($fieldArr[$k]) && $k !== '') { | 353 | if (isset($fieldArr[$k]) && $k !== '') { |
354 | - $row[$fieldArr[$k]] = $v; | 354 | + $row[$fieldArr[$k]] = is_object($v) ? $v->__toString() : $v; |
355 | } | 355 | } |
356 | } | 356 | } |
357 | if ($row) { | 357 | if ($row) { |
@@ -360,7 +360,7 @@ class SimulationQuestion extends Backend | @@ -360,7 +360,7 @@ class SimulationQuestion extends Backend | ||
360 | $temp = array_combine($fields, $values); | 360 | $temp = array_combine($fields, $values); |
361 | foreach ($temp as $k => $v) { | 361 | foreach ($temp as $k => $v) { |
362 | if (isset($fieldArr[$k]) && $k !== '') { | 362 | if (isset($fieldArr[$k]) && $k !== '') { |
363 | - $row[$fieldArr[$k]] = $v; | 363 | + $row[$fieldArr[$k]] = is_object($v) ? $v->__toString() : $v; |
364 | } | 364 | } |
365 | } | 365 | } |
366 | if ($row) { | 366 | if ($row) { |
-
请 注册 或 登录 后发表评论