project_id != helper_get_current_project() ) { # in case the current project is not the same project of the bug we are viewing... # ... override the current project. This to avoid problems with categories and handlers lists etc. $g_project_override = $t_bug->project_id; } $f_bugnote_text = trim( $f_bugnote_text ); # check for blank bugnote if ( !is_blank( $f_bugnote_text ) ) { bugnote_add( $f_bug_id, $f_bugnote_text, $f_private ); email_bugnote_add( $f_bug_id ); } print_successful_redirect_to_bug( $f_bug_id ); ?>