Ignore:
Timestamp:
2011/03/18 05:31:03 (11 years ago)
Author:
tao
Message:

#refs バグっぽいのを修正

File:
1 edited

Legend:

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

    r20700 r20701  
    8383            $summary = explode(",",$summary); 
    8484            $total = intval($summary[1]); 
    85             $limit = intval($summary[2]); 
     85            if(intval($summary[2]) > 0){ 
     86                $limit = intval($summary[2]); 
     87            } 
    8688            if($limit != 0 and $total == $limit){ 
    8789                $this->complete = true; 
     
    99101                    $this->tpl_error = "1以上のポイントを保有ポイント内で半角数字で入力してください。"; 
    100102                }else{ 
    101                     if(isset($summary) and $this->complete == false){ 
     103                    if($limit > 0 and $this->complete == false){ 
    102104                        if(($limit - $total) < $point){ 
    103105                            $point = $limit - $total; 
Note: See TracChangeset for help on using the changeset viewer.