Code Duplication    Length = 5-5 lines in 2 locations

includes/forms/functions.php 2 locations

@@ 965-969 (lines=5) @@
962
	$progress = apply_filters( 'give_goal_amount_funded_percentage_output', $progress, $form->ID, $form );
963
964
	// Define Actual Goal based on the goal format.
965
	if ( 'percentage' === $goal_format ) {
966
		$actual = "{$actual}%";
967
	} else if ( 'amount' === $goal_format ) {
968
		$actual = give_currency_filter( give_format_amount( $actual ) );
969
	}
970
971
	// Define Total Goal based on the goal format.
972
	if ( 'percentage' === $goal_format ) {
@@ 972-976 (lines=5) @@
969
	}
970
971
	// Define Total Goal based on the goal format.
972
	if ( 'percentage' === $goal_format ) {
973
		$total_goal = '';
974
	} else if ( 'amount' === $goal_format ) {
975
		$total_goal = give_currency_filter( give_format_amount( $total_goal ) );
976
	}
977
978
	$stats_array = array_merge(
979
		array(