Changeset 2766

Show
Ignore:
Timestamp:
03/04/10 21:24:50 (2 years ago)
Author:
areski
Message:

fix on payment for subscription

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/customer/checkout_process.php

    r2765 r2766  
    463463 
    464464                                                                $next_bill_date = date("Y-m-d",strtotime("$next_limite_pay_date - $billdaybefor_anniversery day")) ; 
    465                                                                 $QUERY = "UPDATE cc_card SET status=1WHERE id=$id"; 
     465                                                                $QUERY = "UPDATE cc_card SET status=1 WHERE id=$id"; 
    466466                                $result = $instance_table->SQLExec($DBHandle, $QUERY, 0); 
    467467                                                                write_log(LOGFILE_EPAYMENT, basename(__FILE__).' line:'.__LINE__."- QUERY : $QUERY - RESULT : $result"); 
     
    471471                                                                $instance_table->SQLExec($DBHandle, $QUERY, 0); 
    472472                                                        }else{ 
    473                                 $QUERY = "UPDATE cc_card SET status=1WHERE id=$id"; 
     473                                $QUERY = "UPDATE cc_card SET status=1 WHERE id=$id"; 
    474474                                $result = $instance_table->SQLExec($DBHandle, $QUERY, 0); 
    475475                                                                write_log(LOGFILE_EPAYMENT, basename(__FILE__).' line:'.__LINE__."- QUERY : $QUERY - RESULT : $result");