summaryrefslogtreecommitdiffstats
path: root/frontends/php/charts.php
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-08-08 07:58:40 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-08-08 07:58:40 +0000
commita489ced3012a4f07f928f2a11d904b55e8b96464 (patch)
tree0a538d1ad790e207e2fed4df487c93021ccccdc5 /frontends/php/charts.php
parentdcba4c3b5d26a86254193d400b94cbbb5350a36f (diff)
downloadzabbix-a489ced3012a4f07f928f2a11d904b55e8b96464.tar.gz
zabbix-a489ced3012a4f07f928f2a11d904b55e8b96464.tar.xz
zabbix-a489ced3012a4f07f928f2a11d904b55e8b96464.zip
- fixes in sql statement for pgsql (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@4521 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/charts.php')
-rw-r--r--frontends/php/charts.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/charts.php b/frontends/php/charts.php
index d6977ac2..dc81d31c 100644
--- a/frontends/php/charts.php
+++ b/frontends/php/charts.php
@@ -234,7 +234,7 @@ include_once 'include/page_header.php';
if($_REQUEST['graphid'] > 0){
$graphtype = GRAPH_TYPE_NORMAL;
- $sql = 'SELECT DISTINCT `graphtype` FROM `graphs` WHERE `graphid`='.$_REQUEST['graphid'];
+ $sql = 'SELECT DISTINCT graphtype FROM graphs WHERE graphid='.$_REQUEST['graphid'];
$res = DBselect($sql);
while($rows = DBfetch($res)){