Browse Source

Se extiende a mensual la acumulación de bytes consumidos.

Maxi Schvindt 6 năm trước cách đây
mục cha
commit
04b20eeec9
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Command/CmtsInterfaceStatsCommand.php

+ 1 - 1
Command/CmtsInterfaceStatsCommand.php

@@ -217,7 +217,7 @@ class CmtsInterfaceStatsCommand extends BaseCmtsCommand
                 $sendData["{$subId}_inbandwidth_if_{$index}"] = "{$inBandwidth}|g";
                 $sendData["{$subId}_outbandwidth_if_{$index}"] = "{$outBandwidth}|g";
 
-                if(date("d",$t0) != date("d",$t1)) {
+                if(date("n",$t0) != date("n",$t1)) {
                     $inAcc = $outAcc = 0;
                 }