View Issue Details

IDProjectCategoryView StatusLast Update
0003525mantisbtbugtrackerpublic2004-02-06 16:15
Reporterjaypeevoss Assigned Tovboctor  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version0.18.0 
Summary0003525: Priority field incorrectly shown on Simple Report page
Description

The conditions under which the priority field is shown on the pages bug_report_page.php resp. bug_report_advanced_page.php differ. My guess is that the advanced page condition is correct. This causes UPDATER users (in the default environment) to be able to set a priority on the simple report page but not on the advanced report page.

TagsNo tags attached.
Attached Files
3525_adjust_access_for_priority_in_simple_report_page.diff (727 bytes)   
Index: bug_report_page.php
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/bug_report_page.php,v
retrieving revision 1.30
diff -u -r1.30 bug_report_page.php
--- bug_report_page.php	11 Jan 2004 07:16:06 -0000	1.30
+++ bug_report_page.php	5 Feb 2004 10:54:38 -0000
@@ -111,7 +111,7 @@
 
 
 <!-- Priority (if permissions allow) -->
-<?php if ( access_has_project_level( config_get( 'update_bug_threshold' ) ) ) { ?>
+<?php if ( access_has_project_level( config_get( 'handle_bug_threshold' ) ) ) { ?>
 <tr <?php echo helper_alternate_class() ?>>
 	<td class="category">
 		<?php echo lang_get( 'priority' ) ?> <?php print_documentation_link( 'priority' ) ?>

Activities

vboctor

vboctor

2004-02-05 11:59

manager   ~0004953

Patch attached and fixed in CVS. Will be available in next release.