Skip to content

Commit

Permalink
Yet another bug in fixed in assignments deadline management.
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Krulis committed Nov 9, 2019
1 parent 51831ab commit 948228f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/model/repository/Assignments.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function isAssignedToGroup(Exercise $exercise, Group $group): bool {
public function findByDeadline(DateTime $from, DateTime $to) {
$qb = $this->createQueryBuilder("a");

$qb->where(
$qb->andWhere(
$qb->expr()->orX(
$qb->expr()->andX(
$qb->expr()->gt("a.firstDeadline", ":from"),
Expand Down

0 comments on commit 948228f

Please sign in to comment.