Changeset 53779 in spip-zone


Ignore:
Timestamp:
Oct 27, 2011, 8:47:19 PM (10 years ago)
Author:
rastapopoulos@…
Message:

Et oups, pareil pour les enfants.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/polyhierarchie/branches/v2.0/polyhier_fonctions.php

    r53778 r53779  
    4646
    4747        if ($tous!=='directs'
    48           AND in_array($boucle->type_requete,array('rubriques','articles'))){
     48          AND in_array(table_objet_sql($boucle_parent->type_requete),array_keys(lister_tables_objets_sql()))){
    4949                $type = objet_type($boucle->type_requete);
    5050                $cond = "is_array(\$r=$arg)?sql_in('rl.id_parent',\$r):'rl.id_parent='.\$r";
Note: See TracChangeset for help on using the changeset viewer.