summaryrefslogtreecommitdiffstats
path: root/frontends/php/charts.php
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-06-25 11:52:41 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-06-25 11:52:41 +0000
commit56a5e3453ca8651296755d5833aac6becf620fa3 (patch)
tree7d633b3cbc921d8065939a923da02b5fc0fb4836 /frontends/php/charts.php
parentd3fc7944f6fd4a51dba16bcb1e24fa154a29e5fb (diff)
downloadzabbix-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/charts.php')
-rw-r--r--frontends/php/charts.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/charts.php b/frontends/php/charts.php
index 56ee2e4c..f5979932 100644
--- a/frontends/php/charts.php
+++ b/frontends/php/charts.php
@@ -92,8 +92,8 @@ include_once 'include/page_header.php';
$_REQUEST["groupid"] = $_REQUEST["hostid"] = 0;
}
- $_REQUEST['graphid'] = get_request('graphid', get_profile('web.charts.graphid', 0));
- if(!in_node($_REQUEST["graphid"])) $_REQUEST["graphid"] = 0;
+ $_REQUEST['graphid'] = get_request('graphid', get_profile('web.charts.graphid', 0, PROFILE_TYPE_ID));
+ if(!in_node($_REQUEST['graphid'])) $_REQUEST['graphid'] = 0;
$_REQUEST["keep"] = get_request('keep', 1); // possible excessed REQUEST variable !!!
$_REQUEST["period"] = get_request('period',get_profile('web.graph.period', ZBX_PERIOD_DEFAULT, PROFILE_TYPE_INT, $_REQUEST['graphid']));