diff --git a/crmeb/app/services/other/export/ExportServices.php b/crmeb/app/services/other/export/ExportServices.php index dbc60b908..b522c5785 100644 --- a/crmeb/app/services/other/export/ExportServices.php +++ b/crmeb/app/services/other/export/ExportServices.php @@ -129,7 +129,11 @@ class ExportServices extends BaseServices } $custom_form = ''; foreach ($item['custom_form'] as $custom_form_value) { - $custom_form .= $custom_form_value['title'] . ':' . $custom_form_value['value'] . ';'; + if (is_string($custom_form_value['value'])) { + $custom_form .= $custom_form_value['title'] . ':' . $custom_form_value['value'] . ';'; + } elseif (is_array($custom_form_value['value'])) { + $custom_form .= $custom_form_value['title'] . ':' . implode(',', $custom_form_value['value']) . ';'; + } } $goodsName = [];