--- custom_field_api.php-orig Thu Jul 14 18:31:43 2005 +++ custom_field_api.php Thu Jul 14 17:54:37 2005 @@ -1248,7 +1248,12 @@ # $p_bug_id contains the bug id to display the custom field value for # NOTE: This probably belongs in the print_api.php function print_custom_field_value( $p_def, $p_field_id, $p_bug_id ) { - echo string_custom_field_value( $p_def, $p_field_id, $p_bug_id ); + $t_custom_field_value = helper_call_custom_function( 'string_custom_field_value', array( $p_def, $p_field_id, $p_bug_id ) ); + if ( empty ($t_custom_field_value) ) { + echo string_custom_field_value( $p_def, $p_field_id, $p_bug_id ); + } else { + echo $t_custom_field_value; + } } # --------------------