summaryrefslogtreecommitdiffstats
path: root/frontends/php/chart2.php
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php/chart2.php')
-rw-r--r--frontends/php/chart2.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/chart2.php b/frontends/php/chart2.php
index ac050628..73bdf194 100644
--- a/frontends/php/chart2.php
+++ b/frontends/php/chart2.php
@@ -58,7 +58,7 @@ include_once 'include/page_header.php';
$effectiveperiod = navigation_bar_calc();
if(($_REQUEST['graphid']>0) && ($_REQUEST['period'] >= ZBX_MIN_PERIOD)){
- update_profile('web.graph['.$_REQUEST['graphid'].'].period',$_REQUEST['period']);
+ update_profile('web.graph.period',$_REQUEST['period'],PROFILE_TYPE_INT,$_REQUEST['graphid']);
}
update_profile('web.charts.graphid',$_REQUEST['graphid']);