Changeset 5760 in spip-zone


Ignore:
Timestamp:
Sep 28, 2006, 3:42:28 PM (15 years ago)
Author:
bill@…
Message:

petit & en trop (call-time pass-by-reference) et global manquant

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/_stable_/agenda/1_9_1/public/criteres_agenda.php

    r4212 r5760  
    44// http://www.spip.net/@branche
    55function critere_branche($idb, &$boucles, $crit) {
    6         $not = $crit->not;
    7         $boucle = &$boucles[$idb];
     6  global $table_des_tables;
     7  $not = $crit->not;
     8  $boucle = &$boucles[$idb];
    89  $type = $boucle->type_requete;
    910  $nom = $table_des_tables[$type];
    1011  if ($boucle->id_table!='evenements' && $boucle->id_table!='pim_agenda')
    11         critere_branche_dist($idb, &$boucles, $crit);
     12        critere_branche_dist($idb, $boucles, $crit);
    1213  else{
    1314                $arg = calculer_argument_precedent($idb, 'id_rubrique', $boucles);
Note: See TracChangeset for help on using the changeset viewer.