diff options
| author | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-05-09 10:31:17 +0000 |
|---|---|---|
| committer | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-05-09 10:31:17 +0000 |
| commit | cb297e84f068748f96ccf2840a68cad0dfc2a08a (patch) | |
| tree | 923c8e249a41601605f600ae7617ce6c689dbed1 /frontends/php/include/graphs.inc.php | |
| parent | 5f4473e6d8594c7e0b2444a1bc36630d6a4b4ab7 (diff) | |
| download | zabbix-cb297e84f068748f96ccf2840a68cad0dfc2a08a.tar.gz zabbix-cb297e84f068748f96ccf2840a68cad0dfc2a08a.tar.xz zabbix-cb297e84f068748f96ccf2840a68cad0dfc2a08a.zip | |
- improved parameters validation for frontend (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@4104 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/graphs.inc.php')
| -rw-r--r-- | frontends/php/include/graphs.inc.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/frontends/php/include/graphs.inc.php b/frontends/php/include/graphs.inc.php index 97414fd1..f4c64d7a 100644 --- a/frontends/php/include/graphs.inc.php +++ b/frontends/php/include/graphs.inc.php @@ -510,11 +510,17 @@ $src_graphitem["yaxisside"],$src_graphitem["calc_fnc"], $src_graphitem["type"],$src_graphitem["periods_cnt"]); if(!$result) + { + error('Can\'t add key ['.$host_item['key_'].']'); return $result; + } break; } if($item_exist==0) + { + error('Missed key ['.$src_item['key_'].']'); return FALSE; + } } return TRUE; } |
