Changeset 84733 in spip-zone for _plugins_/albums


Ignore:
Timestamp:
Sep 17, 2014, 2:39:53 PM (7 years ago)
Author:
cedric@…
Message:

eviter un warning quand le plugin n'est pas encore configure

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/albums/branches/v2/albums_pipelines.php

    r82783 r84733  
    2323        $id = intval($flux['args']['id']);
    2424
    25         if (!$e['edition'] AND in_array(table_objet_sql($type),lire_config('albums/objets'))) {
     25        if (!$e['edition'] AND in_array(table_objet_sql($type),lire_config('albums/objets',array()))) {
    2626                $texte .= '<div class=\'nettoyeur\'></div>';
    2727                $texte .= recuperer_fond('prive/squelettes/contenu/albums_afficher_complement_objet', array(
Note: See TracChangeset for help on using the changeset viewer.