From 3ecb0ee3fa3f55fcb124bea492a77c33c5ab8a2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Stan=C4=9Bk?= Date: Tue, 9 Nov 2021 19:58:36 +0100 Subject: [PATCH] =?UTF-8?q?oprava=20seznamu=20=C3=BA=C4=8Dastn=C3=ADk?= =?UTF-8?q?=C5=AF=20programu=20p=C5=99ed=20zaplacen=C3=ADm=20(#824)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ProgramModule/Components/ProgramAttendeesGridControl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/AdminModule/ProgramModule/Components/ProgramAttendeesGridControl.php b/app/AdminModule/ProgramModule/Components/ProgramAttendeesGridControl.php index e99197bab..d89993b56 100644 --- a/app/AdminModule/ProgramModule/Components/ProgramAttendeesGridControl.php +++ b/app/AdminModule/ProgramModule/Components/ProgramAttendeesGridControl.php @@ -114,7 +114,7 @@ public function createComponentProgramAttendeesGrid(string $name): void $grid->setTranslator($this->translator); - $qb = $this->userRepository->blockAllowedQuery($program->getBlock(), $registrationBeforePaymentAllowed) + $qb = $this->userRepository->blockAllowedQuery($program->getBlock(), ! $registrationBeforePaymentAllowed) ->leftJoin('u.programApplications', 'pa', 'WITH', 'pa.program = :program') ->setParameter('program', $program);