From e53b7cc8111dd5d023e23eb55e1ff7250d20122c Mon Sep 17 00:00:00 2001 From: Aina Sitraka <35221835+aynsix@users.noreply.github.com> Date: Wed, 6 Jul 2022 11:56:02 +0300 Subject: [PATCH] PHRAS-3701 fix error on first connection (#4075) init missing participant variable as array collection --- lib/Alchemy/Phrasea/Model/Entities/Basket.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Alchemy/Phrasea/Model/Entities/Basket.php b/lib/Alchemy/Phrasea/Model/Entities/Basket.php index c04ea908db..8eabef06aa 100644 --- a/lib/Alchemy/Phrasea/Model/Entities/Basket.php +++ b/lib/Alchemy/Phrasea/Model/Entities/Basket.php @@ -139,7 +139,8 @@ class Basket */ public function __construct() { - $this->elements = new ArrayCollection(); + $this->elements = new ArrayCollection(); + $this->participants = new ArrayCollection(); } /**