mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-11 20:13:28 +00:00
Expire is datetime
This commit is contained in:
@@ -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 > NOW()) ';
|
||||
|
||||
if ($sort == 'date')
|
||||
{
|
||||
|
Reference in New Issue
Block a user