summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/db.inc.php
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-06-25 13:42:08 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-06-25 13:42:08 +0000
commitbb28985b6446269b6eed7c487a7ad5c961f24ffd (patch)
treef17fb69d180caee260457e049754a48c21387d1d /frontends/php/include/db.inc.php
parent820ab6ba3fbd1e0322664156162bb51e9daeaf7d (diff)
- [DEV-137] fixes to types definition (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5791 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 1136adcc..31f018c3 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(ctype_digit($nodes)){
+ if(is_numeric($nodes)){
$nodes = array($nodes);
}
else if(is_string($nodes)){