From 2b8703fbe10a01e92ba737d233faffc3727341a4 Mon Sep 17 00:00:00 2001 From: artem Date: Thu, 24 Jan 2008 11:53:06 +0000 Subject: - [DEV-102] added support of UTF8 for GUI (Artem) git-svn-id: svn://svn.zabbix.com/trunk@5275 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/include/classes/pie.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'frontends/php/include/classes') 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; } -- cgit