View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0003539 | mantisbt | custom fields | public | 2004-02-07 06:11 | 2004-02-29 07:20 |
| Reporter | vboctor | Assigned To | vboctor | ||
| Priority | normal | Severity | feature | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | 0.18.1 | ||||
| Summary | 0003539: Simple view page shows advanced custom fields | ||||
| Description | Advanced custom fields are not shown in the simple report bug, and simple update bug. But they are shown on the simple view bug page. | ||||
| Tags | No tags attached. | ||||
| Attached Files | 3539_simple_view_shows_advanced_custom_fields.diff (784 bytes)
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;
?>
<tr <?php echo helper_alternate_class() ?>>
| ||||