Index: bug_view_page.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/bug_view_page.php,v retrieving revision 1.52 diff -u -r1.52 bug_view_page.php --- bug_view_page.php 5 Feb 2004 12:45:20 -0000 1.52 +++ bug_view_page.php 7 Feb 2004 11:13:02 -0000 @@ -284,8 +284,8 @@ $t_custom_fields_found = false; $t_related_custom_field_ids = custom_field_get_linked_ids( $t_bug->project_id ); foreach( $t_related_custom_field_ids as $t_id ) { + $t_def = custom_field_get_definition( $t_id ); if( !$t_def['advanced'] && custom_field_has_read_access( $t_id, $f_bug_id ) ) { - $t_def = custom_field_get_definition( $t_id ); $t_custom_fields_found = true; ?>