summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/classes/pie.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php/include/classes/pie.inc.php')
-rw-r--r--frontends/php/include/classes/pie.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/include/classes/pie.inc.php b/frontends/php/include/classes/pie.inc.php
index 0461e36b..4eae1894 100644
--- a/frontends/php/include/classes/pie.inc.php
+++ b/frontends/php/include/classes/pie.inc.php
@@ -173,11 +173,11 @@ function selectData(){
}
$this->sum += $item_value;
- $strvaluelenght = max($strvaluelenght,strlen($item_value));
+ $strvaluelength = max($strvaluelength,strlen($item_value));
}
if(isset($graph_sum)) $this->sum = $graph_sum;
- $this->shiftlegendright += $strvaluelenght * 7;
+ $this->shiftlegendright += $strvaluelength * 7;
}