diff --git a/src/Bundle/ChillMainBundle/Entity/UserGroup.php b/src/Bundle/ChillMainBundle/Entity/UserGroup.php index 26a26431b..39df04b31 100644 --- a/src/Bundle/ChillMainBundle/Entity/UserGroup.php +++ b/src/Bundle/ChillMainBundle/Entity/UserGroup.php @@ -89,7 +89,7 @@ class UserGroup */ #[ORM\ManyToOne(targetEntity: UserJob::class)] #[ORM\JoinColumn(nullable: true)] - private ?UserJob $userJob; + private ?UserJob $userJob = null; public function __construct() {