Index: bug_update_page.php
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/bug_update_page.php,v
retrieving revision 1.87
diff -u -r1.87 bug_update_page.php
--- bug_update_page.php	13 Oct 2004 23:35:07 -0000	1.87
+++ bug_update_page.php	19 Feb 2005 16:13:03 -0000
@@ -251,6 +251,11 @@
 			|| ( ( AUTO == config_get( 'show_product_version' ) ) 
 						&& ( count( version_get_all_rows( $t_bug->project_id ) ) > 0 ) );
 	if ( $t_show_version ) { 
+				$t_product_version_released_mask = VERION_RELEASED;
+				
+				if (access_has_project_level( config_get( 'report_issues_for_unreleased_versions_threshold' ) ) ) {
+					$t_product_version_released_mask = VERSION_ALL;
+				} 
 ?>
 	<!-- Product Version -->
 	<td class="category">
@@ -258,7 +263,7 @@
 	</td>
 	<td>
 		<select name="version">
-			<?php print_version_option_list( $t_bug->version, $t_bug->project_id, VERSION_RELEASED ) ?>
+			<?php print_version_option_list( $t_bug->version, $t_bug->project_id, $t_product_version_released_mask ) ?>
 		</select>
 	</td>
 </tr>
