summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/items.inc.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-04-23 08:06:13 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-04-23 08:06:13 +0000
commit781cb8d7985043505364aa3daa364e1fd3f34d5b (patch)
treef87df423894f9998e1f3b110f05b98b3aa3f60a5 /frontends/php/include/items.inc.php
parent220d7fe4a93c10c96f8d7021227f0ff07e411989 (diff)
downloadzabbix-781cb8d7985043505364aa3daa364e1fd3f34d5b.tar.gz
zabbix-781cb8d7985043505364aa3daa364e1fd3f34d5b.tar.xz
zabbix-781cb8d7985043505364aa3daa364e1fd3f34d5b.zip
- startrd developement of dbmanager on serverside
- minor fixes of template linkage on frontend git-svn-id: svn://svn.zabbix.com/trunk@4045 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 89063143..4b4e6ea4 100644
--- a/frontends/php/include/items.inc.php
+++ b/frontends/php/include/items.inc.php
@@ -628,7 +628,7 @@
$result = delete_triggers_by_itemid($itemid);
if(!$result) return $result;
- $db_gitems = DBselect('select * from graphs_items where itemid='.$itemid);
+ $db_gitems = DBselect('select distinct graphid from graphs_items where itemid='.$itemid);
while($db_gitem = DBfetch($db_gitems))
{
$result = delete_graph($db_gitem["graphid"]);