Skip to content
Snippets Groups Projects
Commit 05c8ba7c authored by pyg77's avatar pyg77
Browse files

Ne faire apparaitre dans l'admin que les sondages actifs ou expires depuis x mois

parent 4c6fc656
No related branches found
No related tags found
No related merge requests found
......@@ -97,7 +97,7 @@ while($dsondage = $sondage->FetchNextObject(false)) {
}
$sondage=$connect->Execute("select * from sondage ORDER BY date_fin ASC");
$sondage=$connect->Execute("select * from sondage WHERE date_fin > DATE_SUB(now(), INTERVAL 3 MONTH) ORDER BY date_fin ASC");
$nbsondages=$sondage->RecordCount();
echo $nbsondages.' '. _("polls in the database at this time") .'<br><br>'."\n";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment