diff options
| author | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-06-25 11:52:41 +0000 |
|---|---|---|
| committer | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-06-25 11:52:41 +0000 |
| commit | 56a5e3453ca8651296755d5833aac6becf620fa3 (patch) | |
| tree | 7d633b3cbc921d8065939a923da02b5fc0fb4836 /frontends/php/chart.php | |
| parent | d3fc7944f6fd4a51dba16bcb1e24fa154a29e5fb (diff) | |
| download | zabbix-56a5e3453ca8651296755d5833aac6becf620fa3.tar.gz zabbix-56a5e3453ca8651296755d5833aac6becf620fa3.tar.xz zabbix-56a5e3453ca8651296755d5833aac6becf620fa3.zip | |
- [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
Diffstat (limited to 'frontends/php/chart.php')
| -rw-r--r-- | frontends/php/chart.php | 4 |
1 files changed, 2 insertions, 2 deletions
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']); } |
