summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/items.inc.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-06-22 07:52:17 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-06-22 07:52:17 +0000
commitd50c1dcb7cde4f92200a49bb566f27e8555918a6 (patch)
treebccd0666422843caccbc01b73b5879f0dad5b5b6 /frontends/php/include/items.inc.php
parent9e03fbce4d0ef44b91d645ab18bb520790c41571 (diff)
downloadzabbix-d50c1dcb7cde4f92200a49bb566f27e8555918a6.tar.gz
zabbix-d50c1dcb7cde4f92200a49bb566f27e8555918a6.tar.xz
zabbix-d50c1dcb7cde4f92200a49bb566f27e8555918a6.zip
- merged rev. 4333:4334 of branches/1.4.1/ (Eugene) [added item next check cleaning on status changing]
git-svn-id: svn://svn.zabbix.com/trunk@4335 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/items.inc.php')
-rw-r--r--frontends/php/include/items.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/include/items.inc.php b/frontends/php/include/items.inc.php
index de9ea63d..cb9eab8e 100644
--- a/frontends/php/include/items.inc.php
+++ b/frontends/php/include/items.inc.php
@@ -600,7 +600,7 @@
activate_item($db_tmp_item["itemid"]);
}
- $result = DBexecute("update items set status=".ITEM_STATUS_ACTIVE.",error='' where itemid=$itemid");
+ $result = DBexecute("update items set status=".ITEM_STATUS_ACTIVE.",error='',nextcheck=0 where itemid=$itemid");
return $result;
}