- Timestamp:
- 2011/03/18 05:31:03 (13 years ago)
- Location:
- branches/eccube-donation/html
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eccube-donation/html/frontparts/bloc/send_point.php
r20698 r20701 94 94 $summary = explode(",",$summary); 95 95 $total = intval($summary[1]); 96 $limit = intval($summary[2]); 96 if(intval($summary[2] > 0){ 97 $limit = intval($summary[2]); 98 } 97 99 if($limit > 0 and $total == $limit){ 98 100 $this->complete = true; … … 110 112 $this->tpl_error = "1以上のポイントを保有ポイント内で半角数字で入力してください。"; 111 113 }else{ 112 if( isset($summary)and $this->complete == false){114 if($limit > 0 and $this->complete == false){ 113 115 if(($limit - $total) < $point){ 114 116 $point = $limit - $total; -
branches/eccube-donation/html/mobile/frontparts/bloc/send_point.php
r20700 r20701 83 83 $summary = explode(",",$summary); 84 84 $total = intval($summary[1]); 85 $limit = intval($summary[2]); 85 if(intval($summary[2]) > 0){ 86 $limit = intval($summary[2]); 87 } 86 88 if($limit != 0 and $total == $limit){ 87 89 $this->complete = true; … … 99 101 $this->tpl_error = "1以上のポイントを保有ポイント内で半角数字で入力してください。"; 100 102 }else{ 101 if( isset($summary)and $this->complete == false){103 if($limit > 0 and $this->complete == false){ 102 104 if(($limit - $total) < $point){ 103 105 $point = $limit - $total;
Note: See TracChangeset
for help on using the changeset viewer.