Fix abstract passwords in host/domain manage planel logins
This commit is contained in:
@@ -52,6 +52,14 @@ class Model_Service_Plugin_ADSL extends Model_Service_Plugin {
|
||||
->set('so',$this);
|
||||
}
|
||||
|
||||
public function username_value() {
|
||||
return $this->service_username;
|
||||
}
|
||||
|
||||
public function password_value() {
|
||||
return $this->service_password;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the IP Address for the service
|
||||
*/
|
||||
@@ -307,7 +315,7 @@ class Model_Service_Plugin_ADSL extends Model_Service_Plugin {
|
||||
$traffic_type = $this->get_traffic_data_daily($period,TRUE);
|
||||
// @todo If no data comes in, then this can be stuck reporting traffic for an old date.
|
||||
$day = count($traffic_type) ? max(array_keys($traffic_type)) : 1;
|
||||
$lastday = date('d',strtotime('last day of',$period));
|
||||
$lastday = date('d',strtotime('last day of',$period));
|
||||
|
||||
foreach ($traffic as $k => $v) {
|
||||
// If we are the last day of the period
|
||||
|
Reference in New Issue
Block a user