MAPG-235 fix user deletion bug
This commit is contained in:
1 parent
a7cfc3c19f
commit
c085a5a1ca
5 files changed
+32
-7
No files matched your search
@@ -151,7 +151,7 @@ class GameFlowController
|
||||
|
||||
if (!isset($currentPlace) || $withHistory) {
|
||||
$withRelations = [User::class, PlaceInChallenge::class, Place::class];
|
||||
foreach ($this->guessRepository->getAllInChallenge($challenge, $withRelations) as $guess) {
|
||||
foreach ($this->guessRepository->getAllInChallenge($challenge, $withRelations) as $guess) {
|
||||
$round = $guess->getPlaceInChallenge()->getRound();
|
||||
|
||||
if ($guess->getUser()->getId() === $userId) {
|
||||
|
||||
Reference in new issue
Block a user