Skip to content

Commit 70b788d

Browse files
committed
chore: fix typo on query
1 parent 553d4fd commit 70b788d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Models/Foundation/Summit/Summit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6474,7 +6474,7 @@ public function getRegistrationCompanyById(int $id): ?Company
64746474
WHERE s.id = :summit_id AND c.id = :company_id");
64756475
return $query
64766476
->setParameter('summit_id', $this->id)
6477-
->setParameter('event_id', $id)
6477+
->setParameter('company_id', $id)
64786478
->getOneOrNullResult();
64796479
} catch (NoResultException $ex1) {
64806480
return null;

0 commit comments

Comments
 (0)