stanley-king hace 2 años
padre
commit
4e157f6212
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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)