Ignore:
Timestamp:
Jun 29, 2020, 2:34:58 PM (6 weeks ago)
Author:
Cerdic
Message:

eviter une fatale si charger() a renvoye une erreur sous forme de string

Location:
_plugins_/polyhierarchie/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/polyhierarchie/trunk

    • Property subgit:lock:1d6240fd45d3650c54494d040701c991670e110d deleted
    • Property subgit:lock:6fa51f54e078efeae97a591a7dcade48f1f2bbec set to 2020-06-30T15:21:02.050
  • _plugins_/polyhierarchie/trunk/polyhier_pipeline.php

    r112949 r125334  
    7373        if (
    7474                (isset($flux['data']['_polyhier']) AND $objet = $flux['data']['_polyhier'] AND in_array($objet,array('article','rubrique')))
    75                 OR ($objet = substr($form,7) AND in_array($form,array('editer_article','editer_rubrique')))
     75                OR (is_array($flux['data']) and $objet = substr($form,7) AND in_array($form,array('editer_article','editer_rubrique')))
    7676                ){
    7777                // On ne fait rien si l'id_parent principal est incoherent (exemple : compat pages uniques)
Note: See TracChangeset for help on using the changeset viewer.