Author: benj
Date: Mon Sep 26 15:12:56 2016
New Revision: 1745

URL: http://svn.gna.org/viewcvs/gdtc?rev=1745&view=rev
Log:
Fix SQL errors if locale is French (weird)


Modified:
    trunk/gdtc/include/cb_cmcic.php

Modified: trunk/gdtc/include/cb_cmcic.php
URL: 
http://svn.gna.org/viewcvs/gdtc/trunk/gdtc/include/cb_cmcic.php?rev=1745&r1=1744&r2=1745&view=diff
==============================================================================
--- trunk/gdtc/include/cb_cmcic.php     (original)
+++ trunk/gdtc/include/cb_cmcic.php     Mon Sep 26 15:12:56 2016
@@ -314,7 +314,7 @@
                               "       prelevement_start_date = 
'%04d-%02d-%02d', " .
                               "       prelevement_amount = '%.2f', " .
                               "       cbrecur_prorata = '%d', " .
-                              "       cbrecur_initial_amount = %02f " .
+                              "       cbrecur_initial_amount = '%.02f' " .
                               " WHERE subscription_id = '%s';",
                               $today [ 'year' ], $today [ 'mon' ], $today [ 
'mday' ],
                               $amount, $prorata, $initial_amount,


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

Reply via email to