Skip to content

Commit

Permalink
remove duplicate bug_get_field call
Browse files Browse the repository at this point in the history
  • Loading branch information
mantis committed Oct 9, 2013
1 parent f342d88 commit b3148fe
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions bug_sponsorship_list_view_inc.php
Expand Up @@ -175,13 +175,12 @@
. lang_get( 'sponsorship_more_info' ) . '</a>]';
}

$t_total_sponsorship = bug_get_field( $f_bug_id, 'sponsorship_total' );
if ( $t_total_sponsorship > 0 ) {
echo ' <span style="font-weight: normal;">(';
echo sprintf( lang_get( 'total_sponsorship_amount' ),
sponsorship_format_amount( $t_total_sponsorship ) );
echo ')</span>';
}
if ( $t_total_sponsorship > 0 ) {
echo ' <span style="font-weight: normal;">(';
echo sprintf( lang_get( 'total_sponsorship_amount' ),
sponsorship_format_amount( $t_total_sponsorship ) );
echo ')</span>';
}
?>
</td>
</tr>
Expand Down

0 comments on commit b3148fe

Please sign in to comment.