Code Duplication    Length = 7-7 lines in 2 locations

includes/import-functions.php 2 locations

@@ 674-680 (lines=7) @@
671
				return false;
672
			}
673
		}
674
	} else {
675
		// Get the report
676
		$report                    = give_import_donation_report();
677
		$report['duplicate_donor'] = ( ! empty( $report['duplicate_donor'] ) ? ( absint( $report['duplicate_donor'] ) + 1 ) : 1 );
678
		// update the report
679
		give_import_donation_report_update( $report );
680
	}
681
682
	if ( empty( $dry_run_duplicate_form ) ) {
683
		// get form data or register a form data.
@@ 690-696 (lines=7) @@
687
		} else {
688
			$price_id = ( ! empty( $form->price_id ) ) ? $form->price_id : false;
689
		}
690
	} else {
691
		// Get the report
692
		$report                   = give_import_donation_report();
693
		$report['duplicate_form'] = ( ! empty( $report['duplicate_form'] ) ? ( absint( $report['duplicate_form'] ) + 1 ) : 1 );
694
		// update the report
695
		give_import_donation_report_update( $report );
696
	}
697
698
	// Get the report
699
	$report = give_import_donation_report();