diff options
| author | alex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-08-25 05:51:19 +0000 |
|---|---|---|
| committer | alex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-08-25 05:51:19 +0000 |
| commit | c550e0456ecf3da128228d96b0dca88b622d7573 (patch) | |
| tree | 2b7ef1b700dd076ff1bb04587694987d1ef03c84 /frontends/php/include/graphs.inc.php | |
| parent | 788f7d989d2f4bf772e8e5d259755cd4e9972e37 (diff) | |
- fixed PostgreSQL error in synchronization of graphs (Alexei)
[svn merge -r4667:4670 svn://svn.zabbix.com/branches/1.4]
git-svn-id: svn://svn.zabbix.com/trunk@4671 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/graphs.inc.php')
| -rw-r--r-- | frontends/php/include/graphs.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/include/graphs.inc.php b/frontends/php/include/graphs.inc.php index ddaebba5..cf7e0236 100644 --- a/frontends/php/include/graphs.inc.php +++ b/frontends/php/include/graphs.inc.php @@ -213,9 +213,9 @@ foreach($gitems as $gitem) { - if ( !($db_item = DBfetch(DBselect('select new.itemid from items new, items dest '. + if ( !($db_item = DBfetch(DBselect('select src.itemid from items src, items dest '. ' where dest.itemid='.$gitem['itemid']. - ' and new.key_=dest.key_ and new.hostid='.$dest_hostid))) ) + ' and src.key_=dest.key_ and src.hostid='.$dest_hostid))) ) { $item = get_item_by_itemid($gitem['itemid']); |
