mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 10:34:30 -04:00
Type check on custom fields
This commit is contained in:
parent
2ebba998cc
commit
e2bc086f75
@ -289,7 +289,7 @@ trait DesignHelpers
|
|||||||
return '';
|
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 '';
|
return '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user