Skip to content

Commit

Permalink
tweaked code formatting
Browse files Browse the repository at this point in the history
git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@760 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
Kenzaburo Ito committed Mar 6, 2002
1 parent 97180c3 commit 5dec38e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions core_print_API.php
Expand Up @@ -131,10 +131,12 @@ function print_reporter_option_list( $p_user_id ) {
global $g_mantis_user_table, $g_project_cookie_val, $g_mantis_project_user_list_table;

$t_rep = REPORTER;

#checking if it's a per project statistic or all projects
if ($g_project_cookie_val=='0000000') $specific_where = " 1=1";
else $specific_where = " t2.project_id='$g_project_cookie_val'";
# checking if it's a per project statistic or all projects
if ( '0000000' == $g_project_cookie_val ) {
$specific_where = " 1=1";
} else {
$specific_where = " t2.project_id='$g_project_cookie_val'";
}
$query = "SELECT DISTINCT t1.id, t1.username
FROM $g_mantis_user_table as t1,
$g_mantis_project_user_list_table as t2
Expand Down

0 comments on commit 5dec38e

Please sign in to comment.