mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-05 04:03:26 +00:00
Code for #3875
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user