[ bug #552 ] l'option "Adhérents non à jour" ne fonctionne pas

This commit is contained in:
Laurent Destailleur 2012-10-16 18:34:07 +02:00
parent 0e12931d0f
commit 3dab78afb7

View File

@ -130,7 +130,7 @@ if ($filter == 'uptodate')
}
if ($filter == 'outofdate')
{
$sql.=" AND datefin < '".$db->idate($now)."'";
$sql.=" AND (datefin IS NULL OR datefin < '".$db->idate($now)."')";
}
// Insert categ filter
if ($search_categ)