Changeset 96145 in spip-zone


Ignore:
Timestamp:
Mar 22, 2016, 4:17:00 PM (3 years ago)
Author:
cedric@…
Message:

Report de r53779 : Et oups, pareil pour les enfants.

Location:
_plugins_/polyhierarchie/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/polyhierarchie/trunk

  • _plugins_/polyhierarchie/trunk/polyhier_fonctions.php

    r96144 r96145  
    4747        }
    4848
    49         if (
    50                 $tous !== 'directs'
    51                 and in_array($boucle->type_requete,array('rubriques','articles'))
    52         ) {
     49        if ($tous !== 'directs'
     50          AND in_array(table_objet_sql($boucle_parent->type_requete),array_keys(lister_tables_objets_sql()))){
    5351                $type = objet_type($boucle->type_requete);
    5452                $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.