View Issue Details

IDProjectCategoryView StatusLast Update
0003951mantisbtbugtrackerpublic2004-07-07 18:38
ReporterJumar Assigned Tovboctor  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version0.18.3 
Fixed in Version0.19.0a1 
Summary0003951: 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 ;)

TagsNo 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
add_bugnote_fix.txt (454 bytes)   

Activities

vboctor

vboctor

2004-06-20 17:02

manager   ~0005739

Fixed in CVS. Will be included in 0.19.0.

Related Changesets

MantisBT: master eba15dec

2004-06-20 18:05

vboctor


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