Code Duplication    Length = 5-5 lines in 2 locations

classes/class-wetu-importer-tours.php 2 locations

@@ 707-711 (lines=5) @@
704
					}
705
706
					//Accommodation
707
					if ( false !== $current_accommodation ) {
708
						$current_day['accommodation_to_tour'] = array( $current_accommodation );
709
					} else {
710
						$current_day['accommodation_to_tour'] = array();
711
					}
712
713
					//Destination
714
					if ( false !== $current_destination ) {
@@ 765-769 (lines=5) @@
762
				}
763
764
				//Accommodation
765
				if ( false !== $current_accommodation ) {
766
					$current_day['accommodation_to_tour'] = array( $current_accommodation );
767
				} else {
768
					$current_day['accommodation_to_tour'] = array();
769
				}
770
771
				//Destination
772
				if ( false !== $current_destination ) {