summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-06-16 10:42:29 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-06-16 10:42:29 +0000
commit400140ceb21e1f141ebfd62afa145cbc4ee2901d (patch)
tree28b3a1dd8f334272dc25dcbe7aa3912915d817ae /src
parent5603bd407a6fc337ca523ac7f372588f3c645162 (diff)
downloadzabbix-400140ceb21e1f141ebfd62afa145cbc4ee2901d.tar.gz
zabbix-400140ceb21e1f141ebfd62afa145cbc4ee2901d.tar.xz
zabbix-400140ceb21e1f141ebfd62afa145cbc4ee2901d.zip
- [DEV-181] temp expression on triggers copy changed from {???:???} to 0 (Artem)
- [DEV-137] improvements in user operation result determination in hosts,triggers,items screens (Artem) git-svn-id: svn://svn.zabbix.com/trunk@5769 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'src')
-rw-r--r--src/libs/zbxdbhigh/host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/zbxdbhigh/host.c b/src/libs/zbxdbhigh/host.c
index 6cbd00b9..29fe0429 100644
--- a/src/libs/zbxdbhigh/host.c
+++ b/src/libs/zbxdbhigh/host.c
@@ -3767,7 +3767,7 @@ static int DBcopy_trigger_to_host(
DBexecute("insert into triggers"
" (triggerid,description,priority,status,comments,url,type,value,expression,templateid)"
- " values (" ZBX_FS_UI64 ",'%s',%i,%i,'%s','%s',%i,2,'{???:???}'," ZBX_FS_UI64 ")",
+ " values (" ZBX_FS_UI64 ",'%s',%i,%i,'%s','%s',%i,2,'0'," ZBX_FS_UI64 ")",
new_triggerid,
description_esc, /* description */
atoi(trigger_data[1]), /* priority */