Code Duplication    Length = 5-5 lines in 2 locations

classes/class-tours.php 2 locations

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