Skip to content

Commit

Permalink
fixup! Handle all getParticipants with multi sessions
Browse files Browse the repository at this point in the history
  • Loading branch information
nickvergessen committed Mar 5, 2021
1 parent c5830ae commit 85d431a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Model/SessionMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function findByAttendeeId(int $attendeeId): array {
$query = $this->db->getQueryBuilder();
$query->select('*')
->from($this->getTableName())
->where($query->expr()->eq('attendeeId', $query->createNamedParameter($attendeeId)));
->where($query->expr()->eq('attendee_id', $query->createNamedParameter($attendeeId)));

return $this->findEntities($query);
}
Expand Down

0 comments on commit 85d431a

Please sign in to comment.