@@ -421,16 +421,16 @@ public function getUpdates(): array
421
421
422
422
if ($ this ->checkrole ('balloon ' )) {
423
423
$ balloonsQuery = $ this ->em ->createQueryBuilder ()
424
- ->select ('b.balloonid ' , 't.name ' , 't.location ' , 'p.name AS pname ' )
425
- ->from (Balloon::class, 'b ' )
426
- ->leftJoin ('b.submission ' , 's ' )
427
- ->leftJoin ('s.problem ' , 'p ' )
428
- ->leftJoin ('s.contest ' , 'co ' )
429
- ->leftJoin ('p.contest_problems ' , 'cp ' , Join::WITH , 'co.cid = cp.contest AND p.probid = cp.problem ' )
430
- ->leftJoin ('s.team ' , 't ' )
431
- ->andWhere ('co.cid = :cid ' )
432
- ->andWhere ('b.done = 0 ' )
433
- ->setParameter ('cid ' , $ contest ->getCid ());
424
+ ->select ('b.balloonid ' , 't.name ' , 't.location ' , 'p.name AS pname ' )
425
+ ->from (Balloon::class, 'b ' )
426
+ ->leftJoin ('b.submission ' , 's ' )
427
+ ->leftJoin ('s.problem ' , 'p ' )
428
+ ->leftJoin ('s.contest ' , 'co ' )
429
+ ->leftJoin ('p.contest_problems ' , 'cp ' , Join::WITH , 'co.cid = cp.contest AND p.probid = cp.problem ' )
430
+ ->leftJoin ('s.team ' , 't ' )
431
+ ->andWhere ('co.cid = :cid ' )
432
+ ->andWhere ('b.done = 0 ' )
433
+ ->setParameter ('cid ' , $ contest ->getCid ());
434
434
435
435
$ freezetime = $ contest ->getFreezeTime ();
436
436
if ($ freezetime !== null && !(bool )$ this ->config ->get ('show_balloons_postfreeze ' )) {
0 commit comments