Changeset 114191 in spip-zone for _plugins_/metasplus/trunk


Ignore:
Timestamp:
Mar 1, 2019, 10:38:03 AM (7 weeks ago)
Author:
root
Message:

Notice php

Location:
_plugins_/metasplus/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/metasplus/trunk/metasplus_pipelines.php

    r110876 r114191  
    9090function metasplus_post_edition($flux){
    9191        if (
    92                 $flux['args']['table'] === 'spip_documents' and
    93                 $flux['args']['operation'] === 'supprimer_document' and
    94                 $flux['args']['action'] === 'supprimer_document' and
    95                 $flux['args']['id_objet'] == lire_config('metasplus/id_doc_logo')
     92                $flux['args']['table'] === 'spip_documents'
     93                and isset($flux['args']['operation'])
     94                and $flux['args']['operation'] === 'supprimer_document'
     95                and isset($flux['args']['action'])
     96                and $flux['args']['action'] === 'supprimer_document'
     97                and include_spip('inc/config')
     98                and $flux['args']['id_objet'] == lire_config('metasplus/id_doc_logo')
    9699        ) {
    97100                effacer_config('metasplus/id_doc_logo');
  • _plugins_/metasplus/trunk/paquet.xml

    r113784 r114191  
    22        prefix="metasplus"
    33        categorie="divers"
    4         version="2.2.2"
     4        version="2.2.3"
    55        schema="1.0.0"
    66        etat="stable"
Note: See TracChangeset for help on using the changeset viewer.