From: Olivier Tétard Date: Sat, 21 Dec 2013 17:42:08 +0000 (+0100) Subject: Correction de l'export : les souscriptions reglées doivent avoir le statut 'ok'. X-Git-Url: http://olivier.miskin.fr/git/?a=commitdiff_plain;h=0330c22ae0dbd459c3c5ed0793d6bfb2ca488d89;p=spip_souscriptions.git Correction de l'export : les souscriptions reglées doivent avoir le statut 'ok'. --- diff --git a/action/exporter_souscriptions.php b/action/exporter_souscriptions.php index 620cacf..031b352 100644 --- a/action/exporter_souscriptions.php +++ b/action/exporter_souscriptions.php @@ -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")