mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-11-19 10:27:44 +00:00
fix creating alt phonenumber
This commit is contained in:
@@ -98,7 +98,8 @@ class PersonPhone
|
||||
|
||||
public function isEmpty(): bool
|
||||
{
|
||||
return empty($this->getDescription()) && empty($this->getPhonenumber());
|
||||
return ("" === $this->getDescription() || null === $this->getDescription())
|
||||
&& null === $this->getPhonenumber();
|
||||
}
|
||||
|
||||
public function setDate(DateTime $date): void
|
||||
|
||||
Reference in New Issue
Block a user