This commit is contained in:
James Cole
2020-10-01 12:48:27 +02:00
parent 3ce949f0aa
commit b3edbecde2
4 changed files with 54 additions and 23 deletions

View File

@@ -447,9 +447,11 @@ class GroupCollector implements GroupCollectorInterface
*/
public function setUser(User $user): GroupCollectorInterface
{
$this->user = $user;
$this->startQuery();
if (null === $this->user) {
$this->user = $user;
$this->startQuery();
}
return $this;
}