diff --git a/src/Entity/AlternateDeliveryAddress.php b/src/Entity/AlternateDeliveryAddress.php index 309eaed1..7b8c8ebc 100644 --- a/src/Entity/AlternateDeliveryAddress.php +++ b/src/Entity/AlternateDeliveryAddress.php @@ -74,6 +74,10 @@ public function getName() */ public function setName($name) { + if (strlen($name) > 35) { + $name = substr($name, 0, 35); + } + $this->name = $name; } }