Changeset 85464 in spip-zone for _plugins_/compositions


Ignore:
Timestamp:
Oct 22, 2014, 6:59:46 PM (5 years ago)
Author:
marcimat@…
Message:

Notice php en moins.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/compositions/trunk/compositions_fonctions.php

    r82878 r85464  
    6161        elseif (isset($GLOBALS['meta']['compositions'])){
    6262                $config = unserialize($GLOBALS['meta']['compositions']);
    63                 $config_styliser = $config['styliser_auto'] != 'non';
     63                $config_styliser = isset($config['styliser_auto']) and ($config['styliser_auto'] != 'non');
    6464        }
    6565        return $config_styliser?' ':'';
Note: See TracChangeset for help on using the changeset viewer.