Changeset 93584 in spip-zone


Ignore:
Timestamp:
Dec 12, 2015, 9:43:09 AM (5 years ago)
Author:
bystrano@…
Message:

évite des notices

Location:
_plugins_/massicot/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/massicot/trunk/base/massicot.php

    r93583 r93584  
    3030      'massicoter_logo_document(%s, $connect, $Pile[1])';
    3131
    32     if (is_null($interfaces['table_des_traitements']['URL_DOCUMENT']['documents'])) {
    33         $interfaces['table_des_traitements']['URL_DOCUMENT']['documents'] = '%s';
     32    if (! isset($interfaces['table_des_traitements']['URL_DOCUMENT'])) {
     33            $interfaces['table_des_traitements']['URL_DOCUMENT'] = array();
     34    }
     35
     36    if ((! isset($interfaces['table_des_traitements']['URL_DOCUMENT']['documents'])) or
     37        is_null($interfaces['table_des_traitements']['URL_DOCUMENT']['documents'])) {
     38
     39            $interfaces['table_des_traitements']['URL_DOCUMENT']['documents'] = '%s';
    3440    }
    3541
  • _plugins_/massicot/trunk/paquet.xml

    r93242 r93584  
    22        prefix="massicot"
    33        categorie="multimedia"
    4         version="0.2.3"
     4        version="0.2.4"
    55        etat="test"
    66        compatibilite="[3.0.17;3.1.*]"
Note: See TracChangeset for help on using the changeset viewer.