diff options
| author | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-06-12 08:55:06 +0000 |
|---|---|---|
| committer | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-06-12 08:55:06 +0000 |
| commit | 5240ec718c5c9a6befee0c421e224396fc7b747a (patch) | |
| tree | eb006bf74560b61e82a37e60c46b8448a8c8a511 /frontends/php/include/maps.inc.php | |
| parent | 412fd1bca83c5bb8229a9bfa3b9a77a5573db3ba (diff) | |
| download | zabbix-5240ec718c5c9a6befee0c421e224396fc7b747a.tar.gz zabbix-5240ec718c5c9a6befee0c421e224396fc7b747a.tar.xz zabbix-5240ec718c5c9a6befee0c421e224396fc7b747a.zip | |
- [DEV-137] fixed SQL error for PGSQL8.3 (Artem)
- [DEV-137] fixed Apache Auth loop problem (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5759 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/maps.inc.php')
| -rw-r--r-- | frontends/php/include/maps.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/include/maps.inc.php b/frontends/php/include/maps.inc.php index 27d27737..41267fb1 100644 --- a/frontends/php/include/maps.inc.php +++ b/frontends/php/include/maps.inc.php @@ -193,8 +193,8 @@ $result&=delete_link($rows['linkid']); } - $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 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 sysmaps WHERE sysmapid='.$sysmapid); return $result; |
