From 788dbe5ef9bad96e41fbc06f67ad5981ed9a2ec5 Mon Sep 17 00:00:00 2001 From: Deon George Date: Thu, 10 Jan 2013 17:18:42 +1100 Subject: [PATCH] Fix affiliate google chart --- modules/service/classes/Controller/Affiliate/Service.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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));