From a746e1d434882be3775c9a4722aed2ee40781e16 Mon Sep 17 00:00:00 2001 From: Lapinkiller Date: Thu, 28 Jul 2011 14:33:14 +0200 Subject: [PATCH] bugnote access_level=0 mantis#11923 --- bugnote_view_inc.php | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/bugnote_view_inc.php b/bugnote_view_inc.php index 9332839..0f65440 100644 --- a/bugnote_view_inc.php +++ b/bugnote_view_inc.php @@ -119,8 +119,12 @@ $num_notes = count( $t_bugnotes ); reporter_id ) ) { $t_access_level = access_get_project_level( null, (int)$t_bugnote->reporter_id ); - echo '(', get_enum_element( 'access_levels', $t_access_level ), ')'; + //No label if access_level is 0 + if($t_access_level>0 && $t_access_level){ + echo '(', get_enum_element( 'access_levels', $t_access_level ), ')'; + } } + ?> view_state ) { ?> [ ] -- 1.7.6.msysgit.0