From 22c423c921fdfff4c9ecdaa1a15f58b14995ff94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C5=A0pa=C4=8Dek?= Date: Mon, 25 Sep 2023 22:50:05 +0200 Subject: [PATCH] The country code in the tax id has started to be duplicated They now probably add it themselves. Followup to #225 --- site/app/CompanyInfo/CompanyRegisterAres.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/app/CompanyInfo/CompanyRegisterAres.php b/site/app/CompanyInfo/CompanyRegisterAres.php index ca371aa5c..e32a5f250 100644 --- a/site/app/CompanyInfo/CompanyRegisterAres.php +++ b/site/app/CompanyInfo/CompanyRegisterAres.php @@ -75,7 +75,7 @@ public function getDetails(string $companyId): CompanyInfoDetails IResponse::S200_OK, 'OK', $data->ico, - $data->dic ? $data->sidlo->kodStatu . $data->dic : '', + $data->dic ?? '', $data->obchodniJmeno, $streetAndNumber, $data->sidlo->nazevObce,