diff --git a/htdocs/adherents/index.php b/htdocs/adherents/index.php index 321b9ab2db2..4508bf6ddf0 100644 --- a/htdocs/adherents/index.php +++ b/htdocs/adherents/index.php @@ -61,7 +61,7 @@ if ($result) } $sql = "SELECT count(*) as somme , t.libelle FROM llx_adherent as d, llx_adherent_type as t"; -$sql .= " WHERE d.fk_adherent_type = t.rowid AND d.statut = 1 AND d.datefin >= ".time()." GROUP BY t.libelle"; +$sql .= " WHERE d.fk_adherent_type = t.rowid AND d.statut = 1 AND d.datefin >= now() GROUP BY t.libelle"; $result = $db->query($sql);