From 7bf56630967c10bc70e4bbc3a1afe0cee8796c0f Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 16 Oct 2012 18:33:49 +0200 Subject: [PATCH] =?UTF-8?q?Fix:=20[=20bug=20#552=20]=20l'option=20"Adh?= =?UTF-8?q?=C3=A9rents=20non=20=C3=A0=20jour"=20ne=20fonctionne=20pas?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/adherents/liste.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/adherents/liste.php b/htdocs/adherents/liste.php index 075510fa915..592881b2b72 100644 --- a/htdocs/adherents/liste.php +++ b/htdocs/adherents/liste.php @@ -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