Expire is datetime

This commit is contained in:
Romain Neutron
2012-02-17 15:48:20 +01:00
parent 1a8fff6e1d
commit b0886f00bb

View File

@@ -104,7 +104,7 @@ class BasketRepository extends EntityRepository
JOIN b.validation s
JOIN s.participants p
WHERE b.usr_id != ?1 AND p.usr_id = ?2
AND (s.expires IS NULL OR s.expires > CURRENT_TIMESTAMP()) ';
AND (s.expires IS NULL OR s.expires > CURRENT_DATE()) ';
if ($sort == 'date')
{