From 0d13b05dc099c2d4c82f902693e01cb2760e7c86 Mon Sep 17 00:00:00 2001 From: zhengyongxing Date: Fri, 9 Oct 2020 16:45:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=AC=E5=8F=B8=E7=BB=91=E5=AE=9A=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E9=94=99=E8=AF=AF=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Admin/Controller/AggregateRelationController.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Application/Admin/Controller/AggregateRelationController.class.php b/Application/Admin/Controller/AggregateRelationController.class.php index fab41b192..590c0641d 100644 --- a/Application/Admin/Controller/AggregateRelationController.class.php +++ b/Application/Admin/Controller/AggregateRelationController.class.php @@ -543,7 +543,7 @@ class AggregateRelationController extends AdminController $p['second_company_info']['type'] = 'second_party_info'; $p['second_company_info'] = json_encode($p['second_company_info']); - if ($y['collection'] == 1) { + if ($p['collection'] == 1) { $company_info = json_decode($p['first_company_info'],true); $company_info['invoice_item'] = $p['invoice_content']; @@ -556,7 +556,7 @@ class AggregateRelationController extends AdminController $p['first_company_info'] = json_encode($company_info); - }else if ($y['collection'] == 2) { + }else if ($p['collection'] == 2) { $company_info = json_decode($p['second_company_info'],true); $company_info['invoice_item'] = $p['invoice_content'];