stanley-king 2 年 前
コミット
4e157f6212
1 ファイル変更2 行追加1 行削除
  1. 2 1
      helper/statistics/refill_balance.php

+ 2 - 1
helper/statistics/refill_balance.php

@@ -213,7 +213,8 @@ class refill_balance
         }
 
         if($start == 0) {
-            $start = min($refill_time,$pay_time);
+            $time = min($refill_time,$pay_time);
+            $start = strtotime(date('Y-m-d', $time));
         }
 
         $accumuter = function ($parent_id)