From: Glenn H. <thr...@us...> - 2006-04-18 14:22:18
|
Update of /cvsroot/mantisbt/mantisbt/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10061/core Modified Files: Tag: BRANCH_1_0_0 graph_api.php Log Message: remove hard coded table names Index: graph_api.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/core/graph_api.php,v retrieving revision 1.31 retrieving revision 1.31.12.1 diff -u -d -r1.31 -r1.31.12.1 --- graph_api.php 22 Jul 2005 15:33:59 -0000 1.31 +++ graph_api.php 18 Apr 2006 14:22:05 -0000 1.31.12.1 @@ -602,7 +602,7 @@ # also, get the last updated date for the bug as this may be all the information we have $query = "SELECT $t_bug_table.id, last_updated, date_modified, new_value, old_value FROM $t_bug_table LEFT JOIN $t_history_table - ON mantis_bug_table.id = mantis_bug_history_table.bug_id + ON $t_bug_table.id = $t_history_table.bug_id WHERE $specific_where AND $t_bug_table.status >= '$t_res_val' AND ( ( $t_history_table.new_value >= '$t_res_val' |