From 5b810665a83e204e2f0ce933310b4959438935d1 Mon Sep 17 00:00:00 2001 From: Kirill Krasnov Date: Wed, 5 Jun 2013 09:45:08 +0300 Subject: [PATCH] Fix #16010 --- core/bugnote_api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/bugnote_api.php b/core/bugnote_api.php index 1dc6e51..3d6ad47 100644 --- a/core/bugnote_api.php +++ b/core/bugnote_api.php @@ -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; -- 1.8.3.msysgit.0