Merge branch 'v5-develop' of https://github.com/turbo124/invoiceninja into v5-develop
This commit is contained in:
commit
a516ce30f1
|
|
@ -24,7 +24,7 @@ class ClientPresenter extends EntityPresenter
|
|||
*/
|
||||
public function name()
|
||||
{
|
||||
if (strlen($this->entity->name) > 1) {
|
||||
if (strlen($this->entity->name ?? '') > 1) {
|
||||
return $this->entity->name;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue