diff --git a/modules/service/classes/Controller/Affiliate/Service.php b/modules/service/classes/Controller/Affiliate/Service.php index 1fd5f24d..8c2ce6da 100644 --- a/modules/service/classes/Controller/Affiliate/Service.php +++ b/modules/service/classes/Controller/Affiliate/Service.php @@ -164,9 +164,9 @@ class Controller_Affiliate_Service extends Controller_TemplateDefault_Affiliate ->title(sprintf('ADSL traffic as at %s',date('Y-m-d',strtotime('yesterday')))); foreach ($data['data'] as $key => $values) - $google->data(array('yl'=>$key),array($key=>$values)); + $google->sdata(array('yl'=>$key),array($key=>$values)); - $google->data(array('yr'=>'services'),array('services'=>$data['svs'])); + $google->sdata(array('yr'=>'services'),array('services'=>$data['svs'])); Block::add(array('body'=>(string)$google)); @@ -205,9 +205,9 @@ class Controller_Affiliate_Service extends Controller_TemplateDefault_Affiliate ->title(sprintf('HSPA traffic as at %s',date('Y-m-d',strtotime('yesterday')))); foreach ($data['data'] as $key => $values) - $google->data(array('yl'=>$key),array($key=>$values)); + $google->sdata(array('yl'=>$key),array($key=>$values)); - $google->data(array('yr'=>'services'),array('services'=>$data['svs'])); + $google->sdata(array('yr'=>'services'),array('services'=>$data['svs'])); Block::add(array('body'=>(string)$google));