Changeset 99150 in spip-zone


Ignore:
Timestamp:
Aug 13, 2016, 12:25:08 PM (4 years ago)
Author:
marcimat@…
Message:

Éviter une notice php lors de l'appel à copie_locale() qui utilise le pipeline post_edition sans paramètre 'action'.

Location:
_plugins_/mailsubscribers/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/mailsubscribers/trunk/mailsubscribers_pipelines.php

    r98983 r99150  
    123123 */
    124124function mailsubscribers_post_edition($flux) {
    125         if ($flux['args']['table'] == 'spip_mailsubscribers'
     125        if (
     126                isset($flux['args']['table'])
     127                AND $flux['args']['table'] == 'spip_mailsubscribers'
    126128                AND $id_mailsubscriber = $flux['args']['id_objet']
    127129        ) {
  • _plugins_/mailsubscribers/trunk/paquet.xml

    r99117 r99150  
    22        prefix="mailsubscribers"
    33        categorie="communication"
    4         version="2.1.5"
     4        version="2.1.6"
    55        etat="test"
    66        compatibilite="[3.0.0;3.1.*]"
Note: See TracChangeset for help on using the changeset viewer.