Code Duplication    Length = 3-3 lines in 2 locations

classes/class-accommodation.php 1 location

@@ 601-603 (lines=3) @@
598
			}
599
600
	        //Set the team member if it is there
601
	        if(post_type_exists('team') && false !== $team_members && '' !== $team_members){
602
	        	$this->set_team_member($id,$team_members);
603
	    	}
604
605
	        //Set the safari brand
606
	        if(false !== $safari_brands && '' !== $safari_brands){

classes/class-destination.php 1 location

@@ 504-506 (lines=3) @@
501
	        }
502
503
	        //Set the team member if it is there
504
	        if(post_type_exists('team') && false !== $team_members && '' !== $team_members){
505
	        	$this->set_team_member($id,$team_members);
506
	    	}
507
508
	        if(false !== $importable_content && in_array('location',$importable_content)){
509
	        	$this->set_map_data($data,$id);