From 1a902e0aae2096ed1527eed1ceda65ec4c098227 Mon Sep 17 00:00:00 2001 From: agp8x Date: Mon, 28 Jul 2014 21:33:46 +0200 Subject: [PATCH] fixed spelling errors --- data/index.html | 2 +- function.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/data/index.html b/data/index.html index 8a366cc..5f08726 100644 --- a/data/index.html +++ b/data/index.html @@ -4,4 +4,4 @@ get-modifiers:
-lib (+force) : use custom svg-lib
-short : linked (png only)
-abs : absolut values instead of rounded
--mode=last + num=[x] : dispolay last x hours +-mode=last + num=[x] : display last x hours diff --git a/function.php b/function.php index 1d5259a..6f95566 100644 --- a/function.php +++ b/function.php @@ -65,7 +65,7 @@ function logStats($datas,$type,$alt=false,$outlineAlt=0,$mode=1){ $unit=getUnit($type); $stat=$timePoints=array(); if($alt===false){ - if(is_array($data[$num])){ + if(is_array($datas[$num])){ $stat=dataStat($datas[$num],$type); $timePoints=outLinedLogPoints($datas[$num]); }else{