Code Duplication    Length = 5-5 lines in 2 locations

includes/misc-functions.php 2 locations

@@ 2042-2046 (lines=5) @@
2039
	$progress = apply_filters( 'give_goal_amount_funded_percentage_output', $progress, $form->ID, $form );
2040
2041
	// Define Actual Goal based on the goal format.
2042
	if ( 'percentage' === $goal_format ) {
2043
		$actual = "{$actual}%";
2044
	} else if ( 'amount' === $goal_format ) {
2045
		$actual = give_currency_filter( give_format_amount( $actual ) );
2046
	}
2047
2048
	// Define Total Goal based on the goal format.
2049
	if ( 'percentage' === $goal_format ) {
@@ 2049-2053 (lines=5) @@
2046
	}
2047
2048
	// Define Total Goal based on the goal format.
2049
	if ( 'percentage' === $goal_format ) {
2050
		$total_goal = '';
2051
	} else if ( 'amount' === $goal_format ) {
2052
		$total_goal = give_currency_filter( give_format_amount( $total_goal ) );
2053
	}
2054
2055
	$stats_array = array_merge(
2056
		array(