Skip to content

Commit

Permalink
Merge pull request #2531 from nextcloud/bugfix/2523
Browse files Browse the repository at this point in the history
Add proper type to boolean parameter
  • Loading branch information
juliusknorr authored Nov 13, 2020
2 parents 968d254 + d935e09 commit a50058d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Db/CardMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ public function findOverdue() {
$qb->select('id','title','duedate','notified')
->from('deck_cards')
->where($qb->expr()->lt('duedate', $qb->createFunction('NOW()')))
->andWhere($qb->expr()->eq('notified', $qb->createNamedParameter(false)))
->andWhere($qb->expr()->eq('notified', $qb->createNamedParameter(false, IQueryBuilder::PARAM_BOOL)))
->andWhere($qb->expr()->eq('archived', $qb->createNamedParameter(false, IQueryBuilder::PARAM_BOOL)))
->andWhere($qb->expr()->eq('deleted_at', $qb->createNamedParameter(0, IQueryBuilder::PARAM_INT)));
return $this->findEntities($qb);
Expand Down

0 comments on commit a50058d

Please sign in to comment.