Ignore:
Timestamp:
2011/03/18 05:02:44 (13 years ago)
Author:
tao
Message:

#refs fseek() を追加

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eccube-donation/html/frontparts/bloc/send_point.php

    r20674 r20698  
    9595            $total = intval($summary[1]); 
    9696            $limit = intval($summary[2]); 
    97             if($limit != 0 and $total == $limit){ 
     97            if($limit > 0 and $total == $limit){ 
    9898                $this->complete = true; 
    9999            } 
     
    131131                                $total = $total+$point; 
    132132                                ftruncate($fp2,0); 
     133                                fseek($fp2,0); 
    133134                                fwrite($fp2,$num.','.$total.','.$limit); 
    134135                            }else{ 
Note: See TracChangeset for help on using the changeset viewer.