summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/screens.inc.php
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-08-08 10:26:26 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-08-08 10:26:26 +0000
commita36f295bd55b49054c3b0c1e340c471bea98c055 (patch)
treec78076d3e8a97b6b1a8e5dc0d8e4195c8d25fa43 /frontends/php/include/screens.inc.php
parenta489ced3012a4f07f928f2a11d904b55e8b96464 (diff)
downloadzabbix-a36f295bd55b49054c3b0c1e340c471bea98c055.tar.gz
zabbix-a36f295bd55b49054c3b0c1e340c471bea98c055.tar.xz
zabbix-a36f295bd55b49054c3b0c1e340c471bea98c055.zip
- fixes to SQL statements for pgSQL (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@4522 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/screens.inc.php')
-rw-r--r--frontends/php/include/screens.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/include/screens.inc.php b/frontends/php/include/screens.inc.php
index 664815ba..77e0e56d 100644
--- a/frontends/php/include/screens.inc.php
+++ b/frontends/php/include/screens.inc.php
@@ -331,7 +331,7 @@
$graphtype = GRAPH_TYPE_NORMAL;
- $sql = 'SELECT DISTINCT `graphtype` FROM `graphs` WHERE `graphid`='.$resourceid;
+ $sql = 'SELECT DISTINCT graphtype FROM graphs WHERE graphid='.$resourceid;
$res = DBselect($sql);
while($rows = DBfetch($res)){