Changeset 112767 in spip-zone


Ignore:
Timestamp:
Dec 13, 2018, 11:09:04 AM (5 weeks ago)
Author:
root
Message:

r101273 cassait les notifs manuelles

Location:
_plugins_/abonnements/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/abonnements/trunk/formulaires/notifier_echeances_abonnementsoffre.php

    r101273 r112767  
    231231                $where[] = 'id_abonnements_offre = ' . intval($id_abonnements_offre);
    232232                $where[] = 'email IS NOT NULL';
    233                 $where[] = 'j.id_job IS NULL';
    234                 $where[] = 'DATE_FORMAT(j.date, "%Y-%m-%d") = ' . sql_quote(date('Y-m-d'));
     233                $where[] = 'j.id_job IS NULL ' .
     234                        'OR (j.id_job IS NOT NULL AND DATE_FORMAT(j.date, "%Y-%m-%d") != ' . sql_quote(date('Y-m-d')) . ')';
    235235                $where[] = $statut ? 'abo.statut = ' . sql_quote($statut) : '';
    236236                $where = array_filter($where);
  • _plugins_/abonnements/trunk/paquet.xml

    r112483 r112767  
    22        prefix="abonnements"
    33        categorie="auteur"
    4         version="3.3.4"
     4        version="3.3.5"
    55        schema="2.3.1"
    66        etat="stable"
Note: See TracChangeset for help on using the changeset viewer.