diff --git a/Application/Admin/Controller/PromoteCompanyController.class.php b/Application/Admin/Controller/PromoteCompanyController.class.php index 89a3ec7dc..161123c12 100644 --- a/Application/Admin/Controller/PromoteCompanyController.class.php +++ b/Application/Admin/Controller/PromoteCompanyController.class.php @@ -326,6 +326,9 @@ class PromoteCompanyController extends ThinkController if(isset($save['company_belong']) && ($y_belong != $save['company_belong'])){ $is_change_belong = true; } + if(empty($save['contact_phone'])){ + $save['contact_phone'] = NULL; + } $res = $model->save($save); if ($res) { \Think\Log::actionLog('PromoteCompany/edit', 'partner', $res);