summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/db.inc.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/include/db.inc.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/include/db.inc.php')
-rw-r--r--frontends/php/include/db.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/include/db.inc.php b/frontends/php/include/db.inc.php
index 31f018c3..1136adcc 100644
--- a/frontends/php/include/db.inc.php
+++ b/frontends/php/include/db.inc.php
@@ -645,7 +645,7 @@ else {
if(empty($nodes))
$nodes = 0;
- if(is_numeric($nodes)){
+ if(ctype_digit($nodes)){
$nodes = array($nodes);
}
else if(is_string($nodes)){