Correction de l'export : les souscriptions reglées doivent avoir le statut 'ok'.
[spip_souscriptions.git] / action / exporter_souscriptions.php
index 620cacf..031b352 100644 (file)
@@ -72,7 +72,7 @@ function action_exporter_souscriptions_dist($arg=null) {
 
   if($statut) {
     if($statut == "paye")
-      $where[] = "reglee='oui'";
+      $where[] = "spip_transactions.statut='ok' and reglee='oui'";
     elseif($statut == "commande")
       $where[] = "spip_transactions.statut='commande'";
     elseif($statut == "erreur")