|
From: Benjamin C. <bc...@us...> - 2004-05-03 13:03:12
|
Update of /cvsroot/phpbt/phpbt In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17728 Modified Files: Tag: htmltemplates index.php Log Message: Use the new bug_open field in the database to get define the open bug statuses Index: index.php =================================================================== RCS file: /cvsroot/phpbt/phpbt/index.php,v retrieving revision 1.39.2.2 retrieving revision 1.39.2.3 diff -u -r1.39.2.2 -r1.39.2.3 --- index.php 5 Sep 2003 11:59:17 -0000 1.39.2.2 +++ index.php 3 May 2004 13:03:03 -0000 1.39.2.3 @@ -126,8 +126,8 @@ // Lastly we will need a list of all statuses so we can exclude 'closed" // for the open query - $sOpenStatusQuery = '&status%5B%5D='.@join('&status%5B%5D=', array(BUG_UNCONFIRMED, BUG_PROMOTED, - BUG_ASSIGNED, BUG_REOPENED)); + $sOpenStatusQuery = '&status%5B%5D='.@join('&status%5B%5D=', + $db->getCol("select status_id from status where bug_open = 1")); // QUESTION: Will this still work with using translate('Project')? foreach ($aProjects['projects'] as $iProjectNumberKey => $value1) { |