Changeset 988 for trunk

Show
Ignore:
Timestamp:
08/29/08 09:58:31 (3 months ago)
Author:
rach
Message:

correct bug about simulator and free package

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/common/lib/Class.RateEngine.php

    r978 r988  
    377377                                AND cc_package_rate.rate_id = ".$id_rate." ORDER BY packagetype ASC"; 
    378378                        $table_packages = new Table(); 
    379                         $A2B -> debug( VERBOSE | WRITELOG, $agi, __FILE__, __LINE__, "[FIND PACKAGE  QUERY = $query_pakages]"); 
    380379                        $result_packages = $table_packages -> SQLExec ($A2B -> DBHandle, $query_pakages); 
    381380                        $idx_pack = 0; 
     
    389388                                        $startday                       = $result_packages[$idx_pack]["startday"]; 
    390389                                        $id_cc_package_offer= $result_packages[$idx_pack][0]; 
    391                                         $A2B -> debug( VERBOSE | WRITELOG, $agi, __FILE__, __LINE__, "[ID PACKAGE  TO APPLY = $id_cc_package_offer]"); 
     390                                        if ($this -> debug_st) print_r("[ID PACKAGE  TO APPLY = $id_cc_package_offer]"); 
    392391                                        switch($packagetype){ 
    393392                                                // 0 : UNLIMITED PACKAGE 


Google