Fixes for missing properties

This commit is contained in:
David Bomba 2022-05-03 17:24:35 +10:00
parent f09e460fc4
commit d9ec77003d

View File

@ -490,7 +490,8 @@ class CompanyImport implements ShouldQueue
foreach($this->company_properties as $value){ foreach($this->company_properties as $value){
$this->company->{$value} = $tmp_company->{$value}; if(property_exists($tmp_company, $value))
$this->company->{$value} = $tmp_company->{$value};
} }