Type check on custom fields
This commit is contained in:
parent
2ebba998cc
commit
e2bc086f75
1 changed files with 1 additions and 1 deletions
|
|
@ -289,7 +289,7 @@ trait DesignHelpers
|
|||
return '';
|
||||
}
|
||||
|
||||
if (!property_exists($this->client->company->custom_fields, $field)) {
|
||||
if ($this->client->company->custom_fields && !property_exists($this->client->company->custom_fields, $field)) {
|
||||
return '';
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue