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

This commit is contained in:
Laurent Destailleur 2012-10-16 18:33:49 +02:00
parent a2fe6e311f
commit 7bf5663096

View File

@ -136,7 +136,7 @@ if ($filter == 'uptodate')
}
if ($filter == 'outofdate')
{
$sql.=" AND datefin < '".$db->idate($now)."'";
$sql.=" AND (datefin IS NULL OR datefin < '".$db->idate($now)."')";
}
// Count total nb of records with no order and no limits