From: Paul R. <pri...@us...> - 2005-02-27 21:25:45
|
Update of /cvsroot/mantisbt/mantisbt In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31566 Modified Files: proj_doc_page.php Log Message: fix: use config_get to get table name Index: proj_doc_page.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/proj_doc_page.php,v retrieving revision 1.44 retrieving revision 1.45 diff -u -d -r1.44 -r1.45 --- proj_doc_page.php 18 Dec 2004 13:53:35 -0000 1.44 +++ proj_doc_page.php 27 Feb 2005 21:25:36 -0000 1.45 @@ -21,18 +21,19 @@ } $t_project_id = helper_get_current_project(); + $t_mantis_project_file_table = config_get( 'mantis_project_file_table' ); if( $t_project_id != ALL_PROJECTS ) { # Select all the project files $query = "SELECT * - FROM $g_mantis_project_file_table + FROM $t_mantis_project_file_table WHERE project_id='$t_project_id' or project_id='". ALL_PROJECTS . "' ORDER BY project_id, title ASC"; } else { # Select the project files (specific project + all-projects docs) $query = "SELECT * - FROM $g_mantis_project_file_table + FROM $t_mantis_project_file_table ORDER BY project_id, title ASC"; } $result = db_query( $query ); |