summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/import.inc.php
diff options
context:
space:
mode:
authorsasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-03-11 13:02:45 +0000
committersasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-03-11 13:02:45 +0000
commit2f02b9d0c23fbeb73b8f3d88ee839711e5d776d6 (patch)
tree43455b1b8ba5fdf095acf71cef0803b82dc0ffcf /frontends/php/include/import.inc.php
parenta5c435223703507964d991c38aed30f5b576f38c (diff)
downloadzabbix-2f02b9d0c23fbeb73b8f3d88ee839711e5d776d6.tar.gz
zabbix-2f02b9d0c23fbeb73b8f3d88ee839711e5d776d6.tar.xz
zabbix-2f02b9d0c23fbeb73b8f3d88ee839711e5d776d6.zip
- [DEV-108] GUI
git-svn-id: svn://svn.zabbix.com/trunk@5470 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/import.inc.php')
-rw-r--r--frontends/php/include/import.inc.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/frontends/php/include/import.inc.php b/frontends/php/include/import.inc.php
index 30c6151d..e3697ac9 100644
--- a/frontends/php/include/import.inc.php
+++ b/frontends/php/include/import.inc.php
@@ -194,10 +194,9 @@
if(!isset($data['useip'])) $data['useip'] = 0;
if(!isset($data['dns'])) $data['dns'] = "";
if(!isset($data['ip'])) $data['ip'] = "";
- if(!isset($data['proxyid'])) $data['proxyid'] = "";
if(update_host($data['hostid'], $data['name'], $data['port'], $data['status'],
- $data['useip'], $data['dns'], $data['ip'], $data['proxyid'], $data['templates'], null, $data['groups']))
+ $data['useip'], $data['dns'], $data['ip'], 0, $data['templates'], null, $data['groups']))
{
info('Host ['.$data['name'].'] updated');
}