Merge branch 'v5-develop' of https://github.com/turbo124/invoiceninja into v5-develop

This commit is contained in:
David Bomba 2025-11-22 20:59:46 +00:00
commit a516ce30f1
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ class ClientPresenter extends EntityPresenter
*/ */
public function name() public function name()
{ {
if (strlen($this->entity->name) > 1) { if (strlen($this->entity->name ?? '') > 1) {
return $this->entity->name; return $this->entity->name;
} }