Changeset 93171 in spip-zone


Ignore:
Timestamp:
Nov 25, 2015, 9:01:13 PM (5 years ago)
Author:
eric@…
Message:

Suppression d'une notice php

Location:
_core_/plugins/sites
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _core_/plugins/sites/paquet.xml

    r92998 r93171  
    22        prefix="sites"
    33        categorie="edition"
    4         version="1.9.18"
     4        version="1.9.19"
    55        etat="stable"
    66        compatibilite="[3.0.0;3.1.*]"
  • _core_/plugins/sites/sites_pipelines.php

    r85756 r93171  
    122122 */
    123123function sites_affiche_enfants($flux) {
    124         if ($e = trouver_objet_exec($flux['args']['exec'])
    125           AND $e['type'] == 'rubrique'
    126           AND $e['edition'] == false) {
     124        if (isset($flux['args']['exec'])
     125        AND $e = trouver_objet_exec($flux['args']['exec'])
     126        AND $e['type'] == 'rubrique'
     127        AND $e['edition'] == false) {
    127128                $id_rubrique = $flux['args']['id_rubrique'];
    128129 
Note: See TracChangeset for help on using the changeset viewer.