Skip to content

Commit

Permalink
Fix #16010 change variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirill committed Jun 5, 2013
1 parent ce4eea2 commit ee1b6d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/bugnote_api.php
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ function bugnote_add( $p_bug_id, $p_bugnote_text, $p_time_tracking = '0:00', $p_
}

# Check for private bugnotes.
if( $c_private && access_has_bug_level( config_get( 'set_view_status_threshold' ), $p_bug_id, $c_user_id ) ) {
if( $p_private && access_has_bug_level( config_get( 'set_view_status_threshold' ), $p_bug_id, $c_user_id ) ) {
$t_view_state = VS_PRIVATE;
} else {
$t_view_state = VS_PUBLIC;
Expand Down

0 comments on commit ee1b6d6

Please sign in to comment.