Permalink
Browse files

Merge pull request #87 from Kirill/issue16010

Fixes #16010: remove usage of undeclared variable.
  • Loading branch information...
2 parents ce4eea2 + ee1b6d6 commit c4f2d6c1b8a0da3a65f1c2780a242fa7ba9ba030 @vboctor vboctor committed Jun 5, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 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;

0 comments on commit c4f2d6c

Please sign in to comment.