diff options
| author | james_wells <james_wells@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2005-11-18 15:53:10 +0000 |
|---|---|---|
| committer | james_wells <james_wells@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2005-11-18 15:53:10 +0000 |
| commit | 4459b7022bc533e60f236a5d483ac415eac2adf2 (patch) | |
| tree | c2cda90a70f9c51495a68c9c0ba63d6bfc7bf82a /frontends/php/include/hosts.inc.php | |
| parent | f7c2b61c66cc33bb15842c4db07b145ace7ba7e9 (diff) | |
| download | zabbix-4459b7022bc533e60f236a5d483ac415eac2adf2.tar.gz zabbix-4459b7022bc533e60f236a5d483ac415eac2adf2.tar.xz zabbix-4459b7022bc533e60f236a5d483ac415eac2adf2.zip | |
Cleaned up the host and user bulk loader a bit.
bulkloader.php
include/bulkloader.inc.php
include/hosts.inc.php
git-svn-id: svn://svn.zabbix.com/trunk@2335 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/hosts.inc.php')
| -rw-r--r-- | frontends/php/include/hosts.inc.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/frontends/php/include/hosts.inc.php b/frontends/php/include/hosts.inc.php index d3ce51a8..87f67db6 100644 --- a/frontends/php/include/hosts.inc.php +++ b/frontends/php/include/hosts.inc.php @@ -67,7 +67,10 @@ add_templates_to_host($hostid,$host_templateid); sync_host_with_templates($hostid); } - update_host_groups($hostid,$groups); + if($groups != "") + { + update_host_groups($hostid,$groups); + } if($newgroup != "") { add_group_to_host($hostid,$newgroup); |
