Code Duplication    Length = 5-5 lines in 2 locations

classes/class-tours.php 2 locations

@@ 691-695 (lines=5) @@
688
						}
689
690
						//Included
691
						if(false !== $importable_content && in_array('itinerary_included',$importable_content) && isset($day['included']) && '' !== $day['included']){
692
							$current_day['included'] = $day['included'];
693
						}else{
694
							$current_day['included'] = '';
695
						}
696
697
						//Excluded
698
						if(false !== $importable_content && in_array('itinerary_excluded',$importable_content) && isset($day['excluded']) && '' !== $day['excluded']){
@@ 698-702 (lines=5) @@
695
						}
696
697
						//Excluded
698
						if(false !== $importable_content && in_array('itinerary_excluded',$importable_content) && isset($day['excluded']) && '' !== $day['excluded']){
699
							$current_day['excluded'] = $day['excluded'];
700
						}else{
701
							$current_day['excluded'] = '';
702
						}
703
704
						$this->set_itinerary_day($current_day,$id);
705
						$day_counter++;