From: Glenn H. <thr...@us...> - 2006-09-26 01:50:16
|
Update of /cvsroot/mantisbt/mantisbt In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv19369 Modified Files: bugnote_view_inc.php Log Message: bugnotes originated by the viewer were not being shown Index: bugnote_view_inc.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/bugnote_view_inc.php,v retrieving revision 1.31 retrieving revision 1.32 diff -u -d -r1.31 -r1.32 --- bugnote_view_inc.php 15 Aug 2006 07:11:23 -0000 1.31 +++ bugnote_view_inc.php 26 Sep 2006 01:50:10 -0000 1.32 @@ -23,7 +23,7 @@ $t_user_id = auth_get_current_user_id(); if ( !access_has_bug_level( config_get( 'private_bugnote_threshold' ), $f_bug_id ) ) { - $t_restriction = 'AND view_state=' . VS_PUBLIC; + $t_restriction = 'AND ( view_state=' . VS_PUBLIC . ' OR reporter_id = ' . $t_user_id . ')'; } else { $t_restriction = ''; } |