summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/graphs.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/graphs.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/graphs.inc.php')
-rw-r--r--frontends/php/include/graphs.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/include/graphs.inc.php b/frontends/php/include/graphs.inc.php
index f4574efe..71a69bd9 100644
--- a/frontends/php/include/graphs.inc.php
+++ b/frontends/php/include/graphs.inc.php
@@ -645,7 +645,7 @@
/* delete graph */
$result &= DBexecute('DELETE FROM graphs_items WHERE graphid='.$graphid);
$result &= DBexecute('DELETE FROM graphs WHERE graphid='.$graphid);
- $result &= DBexecute('DELETE FROM profiles WHERE idx="web.favorite.graphids" AND resource="graphid" AND value='.$graphid);
+ $result &= DBexecute('DELETE FROM profiles WHERE idx="web.favorite.graphids" AND source="graphid" AND value='.$graphid);
if($result){
info('Graph "'.$graph['name'].'" deleted from hosts '.implode(',',$host_list));