Misc fixes for ADSL excess traffic and strtotime() functions for last month
This commit is contained in:
@@ -124,7 +124,7 @@ class Controller_Admin_Adsl extends Controller_Adsl {
|
||||
|
||||
$a = 0;
|
||||
foreach (array_reverse($traffic) as $i) {
|
||||
if ($i < $so->plugin()->traffic_month(strtotime('last month'),TRUE))
|
||||
if ($i < $so->plugin()->traffic_month(strtotime('first day of last month'),TRUE))
|
||||
break;
|
||||
|
||||
$a = $i;
|
||||
|
Reference in New Issue
Block a user