summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/items.inc.php
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-05-19 08:52:05 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-05-19 08:52:05 +0000
commit425b813a558e0dbcca70416a7b440c1590cd3673 (patch)
tree940584c3268c2c87cc8713272d9e37d98512d85f /frontends/php/include/items.inc.php
parent5ea1687a67685fe34875967075bbd422b2d0137a (diff)
-[DEV-137] sql fixes for oracle (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5708 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 60efb68b..4334d7d4 100644
--- a/frontends/php/include/items.inc.php
+++ b/frontends/php/include/items.inc.php
@@ -809,7 +809,7 @@
$result &= DBexecute('delete from items_applications where itemid='.$itemid);
$result &= DBexecute('delete from items where itemid='.$itemid);
- $result &= DBexecute('DELETE FROM profiles WHERE idx="web.favorite.graphids" AND resource="itemid" AND value='.$itemid);
+ $result &= DBexecute('DELETE FROM profiles WHERE idx="web.favorite.graphids" AND source="itemid" AND value='.$itemid);
if($result){
info("Item '".$host["host"].":".$item["key_"]."' deleted");