stanley-king před 2 roky
rodič
revize
4e157f6212
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  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)