mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-16 14:33:14 +00:00
Fix #903
This commit is contained in:
@@ -37,7 +37,7 @@ class ValidationParticipantRepository extends EntityRepository
|
||||
JOIN s.basket b
|
||||
WHERE p.is_confirmed = 0
|
||||
AND p.reminded IS NULL
|
||||
AND s.expires < :date';
|
||||
AND s.expires < :date AND s.expires > CURRENT_TIMESTAMP()';
|
||||
|
||||
return $this->_em->createQuery($dql)
|
||||
->setParameter('date', $expireDate, Type::DATETIME)
|
||||
|
Reference in New Issue
Block a user