View Issue Details

IDProjectCategoryView StatusLast Update
0006533mantisbtbugtrackerpublic2010-04-23 23:22
Reporterhs Assigned Todhx  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionduplicate 
Product Version1.0.0rc3 
Summary0006533: bug_view_page clean up check to show product versions
Description

bug_view_page.php,v 1.76 2005/06/21 12:27:23; line311 ff.

$t_show_version = (ON == config_get( 'show_product_version' ) )
|| ( ( AUTO == config_get( 'show_product_version' ) )
&& ( count( version_get_all_rows( $t_bug->project_id ) ) > 0 ) );

Is that whet is intended or:

$t_show_version = ((ON == config_get( 'show_product_version' )
|| ( AUTO == config_get( 'show_product_version' ) )
&& ( count( version_get_all_rows( $t_bug->project_id ) ) > 0 ) );

Additional Information

I have no idea what the consequences are.

TagsNo tags attached.

Relationships

duplicate of 0010696 closedvboctor Refactor simple / advanced / change status view for consistency 

Activities

dhx

dhx

2009-06-26 13:11

reporter   ~0022278

Agreed that your method makes more sense. This needs a bit of a cleanup as well because count(version_get_all_rows) is horribly inefficient as well.

Thanks

dhx

dhx

2009-07-21 09:40

reporter   ~0022543

Victor refactored this code as part of other changes, so it is a lot cleaner now.