summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/forms.inc.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-05-09 17:11:00 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-05-09 17:11:00 +0000
commitd0ee36be65e5e2287429185aac33370d1141fca3 (patch)
tree344529905b21184bc0069bd56b9f5bdea65b06b2 /frontends/php/include/forms.inc.php
parent2c4b75dcb19733161b8b9a8a6392539a1f3f4647 (diff)
downloadzabbix-d0ee36be65e5e2287429185aac33370d1141fca3.tar.gz
zabbix-d0ee36be65e5e2287429185aac33370d1141fca3.tar.xz
zabbix-d0ee36be65e5e2287429185aac33370d1141fca3.zip
- fixed ip validation for templates (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@4113 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/forms.inc.php')
-rw-r--r--frontends/php/include/forms.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/include/forms.inc.php b/frontends/php/include/forms.inc.php
index a0b3a976..162dacb4 100644
--- a/frontends/php/include/forms.inc.php
+++ b/frontends/php/include/forms.inc.php
@@ -3972,7 +3972,7 @@ include_once 'include/discovery.inc.php';
if($show_only_tmp)
{
$frmHost->AddVar("useip",0);
- $frmHost->AddVar("ip","");
+ $frmHost->AddVar("ip","0.0.0.0");
$frmHost->AddVar("dns","");
}
else