Code Duplication    Length = 3-3 lines in 2 locations

classes/class-destination.php 1 location

@@ 535-537 (lines=3) @@
532
	        }
533
534
	        //Set the team member if it is there
535
	        if(post_type_exists('team') && false !== $team_members && '' !== $team_members){
536
	        	$this->set_team_member($id,$team_members);
537
	    	}
538
539
	        if(class_exists('LSX_TO_Maps')){
540
	        	$this->set_map_data($data,$id);

classes/class-accommodation.php 1 location

@@ 632-634 (lines=3) @@
629
			}
630
631
	        //Set the team member if it is there
632
	        if(post_type_exists('team') && false !== $team_members && '' !== $team_members){
633
	        	$this->set_team_member($id,$team_members);
634
	    	}
635
636
	        //Set the safari brand
637
	        if(false !== $safari_brands && '' !== $safari_brands){