mirror of
https://framagit.org/framasoft/framadate/framadate
synced 2026-08-02 06:12:11 +00:00
Ne faire apparaitre dans l'admin que les sondages actifs ou expires depuis x mois
This commit is contained in:
parent
4c6fc65603
commit
05c8ba7c66
1 changed files with 1 additions and 1 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue