Changeset 43894 in spip-zone


Ignore:
Timestamp:
Jan 26, 2011, 9:04:29 PM (10 years ago)
Author:
cedric@…
Message:

compilation de la boucle documents : utiliser quete_condition_postdates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _core_/plugins/medias/medias_fonctions.php

    r43743 r43894  
    7676                } else {
    7777                        if ($GLOBALS['meta']["post_dates"] == 'non')
    78                                 array_unshift($boucle->where,array("'<'", "'$id_table" . ".date_publication'", "sql_quote(quete_date_postdates())"));
     78                                array_unshift($boucle->where,"quete_condition_postdates('$id_table" . ".date_publication',"._q($boucle->serveur).")");
    7979                        array_unshift($boucle->where,"'(($id_table.statut = \"publie\"))'");
    8080                }
Note: See TracChangeset for help on using the changeset viewer.