summaryrefslogtreecommitdiffstats
path: root/frontends/php/items.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/items.php
parent820ab6ba3fbd1e0322664156162bb51e9daeaf7d (diff)
downloadzabbix-bb28985b6446269b6eed7c487a7ad5c961f24ffd.tar.gz
zabbix-bb28985b6446269b6eed7c487a7ad5c961f24ffd.tar.xz
zabbix-bb28985b6446269b6eed7c487a7ad5c961f24ffd.zip
- [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/items.php')
-rw-r--r--frontends/php/items.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/items.php b/frontends/php/items.php
index 8b78bed6..b63c3920 100644
--- a/frontends/php/items.php
+++ b/frontends/php/items.php
@@ -462,11 +462,11 @@ include_once "include/page_header.php";
}
}
- $result = true;
+ $result = false;
DBstart();
foreach($_REQUEST["group_itemid"] as $item_id)
foreach($hosts_ids as $host_id){
- $result &= copy_item_to_host($item_id, $host_id, true);
+ $result |= copy_item_to_host($item_id, $host_id, true);
}
$result = DBend($result);