Skip to content

Commit

Permalink
Fix invocation of prepare_version_string() with incorrect number of a…
Browse files Browse the repository at this point in the history
…rguments

Conflicts:
	bug_view_inc.php
	library/adodb
	library/phpmailer
  • Loading branch information
rlerdorf authored and rombert committed Oct 30, 2013
1 parent 19c0ab5 commit ac4c089
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bug_view_inc.php
Expand Up @@ -126,15 +126,15 @@
$t_version_rows = version_get_all_rows( $t_bug->project_id );

if ( $t_show_product_version ) {
$t_product_version_string = prepare_version_string( $t_bug->project_id, version_get_id( $t_bug->version, $t_bug->project_id ), $t_version_rows );
$t_product_version_string = prepare_version_string( $t_bug->project_id, version_get_id( $t_bug->version, $t_bug->project_id ) );
}

if ( $t_show_target_version ) {
$t_target_version_string = prepare_version_string( $t_bug->project_id, version_get_id( $t_bug->target_version, $t_bug->project_id) , $t_version_rows );
$t_target_version_string = prepare_version_string( $t_bug->project_id, version_get_id( $t_bug->target_version, $t_bug->project_id) );
}

if ( $t_show_fixed_in_version ) {
$t_fixed_in_version_string = prepare_version_string( $t_bug->project_id, version_get_id( $t_bug->fixed_in_version, $t_bug->project_id ), $t_version_rows );
$t_fixed_in_version_string = prepare_version_string( $t_bug->project_id, version_get_id( $t_bug->fixed_in_version, $t_bug->project_id ) );
}
}

Expand Down

0 comments on commit ac4c089

Please sign in to comment.