Index: /branches/eccube-donation/html/frontparts/bloc/send_point.php
===================================================================
--- /branches/eccube-donation/html/frontparts/bloc/send_point.php	(revision 20674)
+++ /branches/eccube-donation/html/frontparts/bloc/send_point.php	(revision 20698)
@@ -95,5 +95,5 @@
             $total = intval($summary[1]);
             $limit = intval($summary[2]);
-            if($limit != 0 and $total == $limit){
+            if($limit > 0 and $total == $limit){
                 $this->complete = true;
             }
@@ -131,4 +131,5 @@
                                 $total = $total+$point;
                                 ftruncate($fp2,0);
+                                fseek($fp2,0);
                                 fwrite($fp2,$num.','.$total.','.$limit);
                             }else{
Index: /branches/eccube-donation/html/frontparts/bloc/index.php
===================================================================
--- /branches/eccube-donation/html/frontparts/bloc/index.php	(revision 20674)
+++ /branches/eccube-donation/html/frontparts/bloc/index.php	(revision 20698)
@@ -78,4 +78,5 @@
         $limit = intval($limit);
         ftruncate($fp,0);
+        fseek($fp,0);
         fwrite($fp,$num.','.$total.','.$limit);
     }
