diff --git a/src/Models/AbstractVCard.php b/src/Models/AbstractVCard.php index 0cc65b9..f2e5c9c 100644 --- a/src/Models/AbstractVCard.php +++ b/src/Models/AbstractVCard.php @@ -411,7 +411,7 @@ public function getX(string $name, bool $multiple = false): mixed } // singular field - return $this->getPrefferedField($fields); + return $this->getPrefferedField($fields)?->relevantRender() ?? null; } public function toString(): string