summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/maps.inc.php
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-06-25 10:13:59 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-06-25 10:13:59 +0000
commitd3fc7944f6fd4a51dba16bcb1e24fa154a29e5fb (patch)
tree46cb46d13f439ab27ce64678e6f51599f1438435 /frontends/php/include/maps.inc.php
parent92f62ad44d8aa2de10a4949cdb761c60c6eed31e (diff)
downloadzabbix-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/maps.inc.php')
-rw-r--r--frontends/php/include/maps.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/include/maps.inc.php b/frontends/php/include/maps.inc.php
index 2aef1b6e..a06564df 100644
--- a/frontends/php/include/maps.inc.php
+++ b/frontends/php/include/maps.inc.php
@@ -194,7 +194,7 @@
}
$result = DBexecute('DELETE FROM sysmaps_elements WHERE sysmapid='.$sysmapid);
- $result &= DBexecute("DELETE FROM profiles WHERE idx='web.favorite.sysmapids' AND source='sysmapid' AND value='$sysmapid'");
+ $result &= DBexecute("DELETE FROM profiles WHERE idx='web.favorite.sysmapids' AND source='sysmapid' AND value_id=$sysmapid");
$result &= DBexecute('DELETE FROM sysmaps WHERE sysmapid='.$sysmapid);
return $result;