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];