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,