diff --git a/medias_fonctions.php b/medias_fonctions.php index 27c0da5319aa6022ad850c76fc548e10c54f629a..5758044c001329d35d7cddfab147d2c5ddc8fdbb 100644 --- a/medias_fonctions.php +++ b/medias_fonctions.php @@ -75,7 +75,7 @@ function boucle_DOCUMENTS($id_boucle, &$boucles) { array_unshift($boucle->where,"'($id_table.statut IN (\"publie\",\"prop\",\"prepa\"))'"); } else { if ($GLOBALS['meta']["post_dates"] == 'non') - array_unshift($boucle->where,array("'<'", "'$id_table" . ".date_publication'", "sql_quote(quete_date_postdates())")); + array_unshift($boucle->where,"quete_condition_postdates('$id_table" . ".date_publication',"._q($boucle->serveur).")"); array_unshift($boucle->where,"'(($id_table.statut = \"publie\"))'"); } }