Changeset 86492 in spip-zone


Ignore:
Timestamp:
Dec 5, 2014, 3:41:00 PM (7 years ago)
Author:
cedric@…
Message:

une liste vide est acceptee on a dit

Location:
_plugins_/mailsubscribers/trunk
Files:
2 edited

Legend:

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

    r86490 r86492  
    262262        if ($f = mailsubscribers_trouver_fonction_synchro($liste)){
    263263                $abonnes = $f();
    264                 if ($abonnes
    265                   AND is_array($abonnes)
     264                if (is_array($abonnes)
    266265                        AND (!count($abonnes) OR ($r = reset($abonnes) AND isset($r['email'])))
    267266                        ){
  • _plugins_/mailsubscribers/trunk/paquet.xml

    r86490 r86492  
    22        prefix="mailsubscribers"
    33        categorie="communication"
    4         version="1.6.5"
     4        version="1.6.6"
    55        etat="stable"
    66        compatibilite="[3.0.0;3.0.*]"
Note: See TracChangeset for help on using the changeset viewer.