Author: benj
Date: Tue Jan 31 11:53:06 2017
New Revision: 1795

URL: http://svn.gna.org/viewcvs/gdtc?rev=1795&view=rev
Log:
Improve coherence test for periodicity


Modified:
    trunk/gdtc/include/coherence.php

Modified: trunk/gdtc/include/coherence.php
URL: 
http://svn.gna.org/viewcvs/gdtc/trunk/gdtc/include/coherence.php?rev=1795&r1=1794&r2=1795&view=diff
==============================================================================
--- trunk/gdtc/include/coherence.php    (original)
+++ trunk/gdtc/include/coherence.php    Tue Jan 31 11:53:06 2017
@@ -150,7 +150,7 @@
 
 function check_prelevement_periodicity_is_fucked ()
 {
-  $results = basic_query ( "AND subscription.payment_mode = 'prelevement' " .
+  $results = basic_query ( "AND ( subscription.payment_mode = 'cbweb_recur' OR 
subscription.payment_mode = 'prelevement' ) " .
                           "AND ( subscription.prelevement_periodicity = 0 OR 
subscription.prelevement_periodicity IS NULL )" );
   if ( ! $results ) return;
 


_______________________________________________
Gdtc-commits mailing list
[email protected]
https://mail.gna.org/listinfo/gdtc-commits

Reply via email to