View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0003951 | mantisbt | bugtracker | public | 2004-06-17 10:15 | 2004-07-07 18:38 |
| Reporter | Jumar | Assigned To | vboctor | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | 0.18.3 | ||||
| Fixed in Version | 0.19.0a1 | ||||
| Summary | 0003951: Add Bugnote - Link | ||||
| Description | If you're a viewer (and not able to write bugnotes) there's still the link "Add Bugnote" in the bug_view_page.php. | ||||
| Additional Information | For solution.. see attachment ;) | ||||
| Tags | No tags attached. | ||||
| Attached Files | add_bugnote_fix.txt (454 bytes)
change
<span class="small"><?php print_bracket_link( "#addbugnote", lang_get( 'add_bugnote_button' ) ) ?></span>
into
<?php
if ( ( $t_bug->status < config_get( 'bug_resolved_status_threshold' ) ) &&
( access_has_bug_level( config_get( 'add_bugnote_threshold' ), $f_bug_id ) ) )
{
?>
<span class="small"><?php print_bracket_link( "#addbugnote", lang_get( 'add_bugnote_button' ) ) ?></span>
<?php } ?>
in the file bug_view_page.php | ||||
|
MantisBT: master eba15dec 2004-06-20 18:05 Details Diff |
Fix 0003951: Add Bugnote - Link. (Thanks to Jumar) M bug_view_page.php git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@2613 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
Affected Issues 0003951 |
|
| mod - doc/ChangeLog | Diff File | ||
| mod - bug_view_page.php | Diff File | ||