Skip to content

Commit

Permalink
Fix #3080: project menu bar shows extra links
Browse files Browse the repository at this point in the history
* core/html_api.php
  (print_project_menu_bar): add a DISTINCT clause to the query that pulls out
    the list of projects (we should be able to use the project_api functions
    for this.


git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@2126 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
Julian Fitzell committed Mar 25, 2003
1 parent 7edff30 commit 0fd77ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/html_api.php
Expand Up @@ -6,7 +6,7 @@
# See the README and LICENSE files for details

# --------------------------------------------------------
# $Id: html_api.php,v 1.72 2003-03-24 06:26:42 jfitzell Exp $
# $Id: html_api.php,v 1.73 2003-03-25 09:56:31 jfitzell Exp $
# --------------------------------------------------------

###########################################################################
Expand Down Expand Up @@ -414,7 +414,7 @@ function print_project_menu_bar() {
WHERE p.enabled=1
ORDER BY p.name";
} else {
$query = "SELECT p.id, p.name
$query = "SELECT DISTINCT(p.id), p.name
FROM $t_project_table p, $t_project_user_list_table u
WHERE p.enabled=1
AND p.id=u.project_id
Expand Down
1 change: 1 addition & 0 deletions doc/ChangeLog
Expand Up @@ -5,6 +5,7 @@ Mantis ChangeLog
* Fix: Improved adherance to the XHTML standard.
* Fix #3072: Attached file should be opened up in a new browser window.
* Fix #3064: view bug buttons in vertical column
* Fix #3080: project menu bar shows extra links

2003.03.22 - 0.18.0a4

Expand Down

0 comments on commit 0fd77ab

Please sign in to comment.