summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-09-21 07:03:22 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-09-21 07:03:22 +0000
commit3e912dd83241a31d9c19635eed4e733fc60e96bb (patch)
tree8569e3f2d6f0cf68ea65cdbfb1efe7589d53d5b6
parent3b1f91eb57aaeaa2d4e916c9448e7a7bc9eec0f3 (diff)
downloadzabbix-3e912dd83241a31d9c19635eed4e733fc60e96bb.tar.gz
zabbix-3e912dd83241a31d9c19635eed4e733fc60e96bb.tar.xz
zabbix-3e912dd83241a31d9c19635eed4e733fc60e96bb.zip
- minor fix (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@4767 97f52cf1-0a1b-0410-bd0e-c28be96e8082
-rw-r--r--frontends/php/include/validate.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/include/validate.inc.php b/frontends/php/include/validate.inc.php
index a628744f..db0e1291 100644
--- a/frontends/php/include/validate.inc.php
+++ b/frontends/php/include/validate.inc.php
@@ -95,11 +95,11 @@
function validate_ip($str,&$arr)
{
- if(validate_ipv4($str,&$arr))
+ if(validate_ipv4($str,$arr))
return true;
if(defined('ZBX_HAVE_IPV6'))
{
- return validate_ipv6($str,&$arr);
+ return validate_ipv6($str,$arr);
}
return false;
}