Changeset 70864 in spip-zone for _plugins_/css_imbriques


Ignore:
Timestamp:
Mar 18, 2013, 8:59:37 AM (7 years ago)
Author:
marcimat@…
Message:

2 notices PHP en moins.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/css_imbriques/css_imbriques_fonctions.php

    r68622 r70864  
    4141
    4242        $intitule = trim($classe[$niveau]);
    43 
     43        $ret = '';
    4444
    4545        if (substr($intitule, 0, 2) == ". ") {
     
    8080                }
    8181        }
    82         else if ($enfants[$niveau]) {
     82        else if (isset($enfants[$niveau]) and $enfants[$niveau]) {
    8383                foreach($enfants[$niveau] as $num) {
    8484                        $ret .= css_contruire($css, $num, $chemin, $classe, $enfants, $definition);
Note: See TracChangeset for help on using the changeset viewer.