From 56a5e3453ca8651296755d5833aac6becf620fa3 Mon Sep 17 00:00:00 2001 From: artem Date: Wed, 25 Jun 2008 11:52:41 +0000 Subject: - [DEV-137] fix simple graphs error. Tnx to Palmertree. (Artem) - [DEV-137] added profile value_id devision by nodes (Artem) git-svn-id: svn://svn.zabbix.com/trunk@5788 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/chart.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'frontends/php/chart.php') diff --git a/frontends/php/chart.php b/frontends/php/chart.php index 7beeb1f1..9d9813e7 100644 --- a/frontends/php/chart.php +++ b/frontends/php/chart.php @@ -61,9 +61,9 @@ include_once "include/page_header.php"; $effectiveperiod = navigation_bar_calc(); - $_REQUEST['period'] = get_request('period',get_profile('web.item['.$_REQUEST['itemid'].'].graph.period', ZBX_PERIOD_DEFAULT)); + $_REQUEST['period'] = get_request('period',get_profile('web.item.graph.period', ZBX_PERIOD_DEFAULT, PROFILE_TYPE_INT, $_REQUEST['itemid'])); if($_REQUEST['period'] >= ZBX_MIN_PERIOD){ - update_profile('web.item['.$_REQUEST['itemid'].'].graph.period',$_REQUEST['period']); + update_profile('web.item.graph.period',$_REQUEST['period'], PROFILE_TYPE_INT, $_REQUEST['itemid']); } -- cgit