From 4ce242a7f02a24e0f150aef196f661d3208dcb1f Mon Sep 17 00:00:00 2001 From: agp8x Date: Sat, 2 Aug 2014 17:16:18 +0200 Subject: [PATCH] fixing #4 --- function.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/function.php b/function.php index 6f95566..90f5684 100644 --- a/function.php +++ b/function.php @@ -65,12 +65,8 @@ function logStats($datas,$type,$alt=false,$outlineAlt=0,$mode=1){ $unit=getUnit($type); $stat=$timePoints=array(); if($alt===false){ - if(is_array($datas[$num])){ - $stat=dataStat($datas[$num],$type); - $timePoints=outLinedLogPoints($datas[$num]); - }else{ - $printValues=false; - } + $stat=dataStat($datas[$num],$type); + $timePoints=outLinedLogPoints($datas[$num]); }else{ $stat=$alt[$num]; $timePoints=$outlineAlt[$num];