Minor fixes

This commit is contained in:
David Bomba 2023-10-18 10:14:14 +11:00
parent c955dfc910
commit d06f383a98

View File

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