Code Duplication    Length = 3-3 lines in 2 locations

programs/utilit/entry.class.php 2 locations

@@ 891-893 (lines=3) @@
888
	        
889
	        $type = $this->getPeriodType($period);
890
	        
891
	        if ('AM' === $days[$d]['type'] && 'PM' === $type) {
892
	            $days[$d]['type'] = 'AMPM';
893
	        }
894
	        
895
	        if ('PM' === $days[$d]['type'] && 'AM' === $type) {
896
	            $days[$d]['type'] = 'AMPM';
@@ 895-897 (lines=3) @@
892
	            $days[$d]['type'] = 'AMPM';
893
	        }
894
	        
895
	        if ('PM' === $days[$d]['type'] && 'AM' === $type) {
896
	            $days[$d]['type'] = 'AMPM';
897
	        }
898
	        
899
	        if (!isset($days[$d]['type'])) {
900
	            $days[$d]['type'] = $type;