diff options
| author | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-06-25 10:13:59 +0000 |
|---|---|---|
| committer | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-06-25 10:13:59 +0000 |
| commit | d3fc7944f6fd4a51dba16bcb1e24fa154a29e5fb (patch) | |
| tree | 46cb46d13f439ab27ce64678e6f51599f1438435 /frontends/php/include/items.inc.php | |
| parent | 92f62ad44d8aa2de10a4949cdb761c60c6eed31e (diff) | |
| download | zabbix-d3fc7944f6fd4a51dba16bcb1e24fa154a29e5fb.tar.gz zabbix-d3fc7944f6fd4a51dba16bcb1e24fa154a29e5fb.tar.xz zabbix-d3fc7944f6fd4a51dba16bcb1e24fa154a29e5fb.zip | |
- [DEV-137] fixes related to changes in profile system (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5787 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/items.inc.php')
| -rw-r--r-- | frontends/php/include/items.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/include/items.inc.php b/frontends/php/include/items.inc.php index 1e1f363c..10fec58c 100644 --- a/frontends/php/include/items.inc.php +++ b/frontends/php/include/items.inc.php @@ -808,7 +808,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 source='itemid' AND value='$itemid'"); + $result &= DBexecute("DELETE FROM profiles WHERE idx='web.favorite.graphids' AND source='itemid' AND value_id=$itemid"); if($result){ info("Item '".$host["host"].":".$item["key_"]."' deleted"); |
