Code Duplication    Length = 5-5 lines in 2 locations

classes/class-tours.php 2 locations

@@ 646-650 (lines=5) @@
643
						}
644
645
						//Included
646
						if(false !== $importable_content && in_array('itinerary_included',$importable_content) && isset($day['included']) && '' !== $day['included']){
647
							$current_day['included'] = $day['included'];
648
						}else{
649
							$current_day['included'] = '';
650
						}
651
652
						//Excluded
653
						if(false !== $importable_content && in_array('itinerary_excluded',$importable_content) && isset($day['excluded']) && '' !== $day['excluded']){
@@ 653-657 (lines=5) @@
650
						}
651
652
						//Excluded
653
						if(false !== $importable_content && in_array('itinerary_excluded',$importable_content) && isset($day['excluded']) && '' !== $day['excluded']){
654
							$current_day['excluded'] = $day['excluded'];
655
						}else{
656
							$current_day['excluded'] = '';
657
						}
658
659
						$this->set_itinerary_day($current_day,$id);
660
						$day_counter++;