diff options
| author | alex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-10-30 09:14:35 +0000 |
|---|---|---|
| committer | alex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-10-30 09:14:35 +0000 |
| commit | 2d80a93148ef470b402b0e57ef892c63c85aae98 (patch) | |
| tree | 60e6fc0d81de85de9cdba111db18ce9ff8effde8 /frontends/php/include/graphs.inc.php | |
| parent | a839ed6e48cd074cd279180ee79aa684cd6fc350 (diff) | |
| download | zabbix-2d80a93148ef470b402b0e57ef892c63c85aae98.tar.gz zabbix-2d80a93148ef470b402b0e57ef892c63c85aae98.tar.xz zabbix-2d80a93148ef470b402b0e57ef892c63c85aae98.zip | |
- fixed problem when adding a graph under PostgreSQL (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@3409 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/graphs.inc.php')
| -rw-r--r-- | frontends/php/include/graphs.inc.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/frontends/php/include/graphs.inc.php b/frontends/php/include/graphs.inc.php index 7f41d831..6a5e12b2 100644 --- a/frontends/php/include/graphs.inc.php +++ b/frontends/php/include/graphs.inc.php @@ -199,8 +199,7 @@ if($gitemid && $host["status"]==HOST_STATUS_TEMPLATE) {// add to child graphs $item_num = DBfetch(DBselect( - 'select count(*) as num from graphs_items where graphid='.$graphid. - ' order by itemid,drawtype,sortorder,color,yaxisside' + 'select count(*) as num from graphs_items where graphid='.$graphid )); if($item_num['num'] == 1) |
