Code Duplication    Length = 4-4 lines in 2 locations

lib/Cake/View/Helper/FormHelper.php 2 locations

@@ 990-993 (lines=4) @@
987
		$divOptions = $this->_divOptions($options);
988
		unset($options['div']);
989
990
		if ($options['type'] === 'radio' && isset($options['options'])) {
991
			$radioOptions = (array)$options['options'];
992
			unset($options['options']);
993
		}
994
995
		$label = $this->_getLabel($fieldName, $options);
996
		if ($options['type'] !== 'radio') {
@@ 1032-1035 (lines=4) @@
1029
			}
1030
		}
1031
1032
		if ($type === 'radio' && isset($out['between'])) {
1033
			$options['between'] = $out['between'];
1034
			$out['between'] = null;
1035
		}
1036
		$out['input'] = $this->_getInput(compact('type', 'fieldName', 'options', 'radioOptions', 'selected', 'dateFormat', 'timeFormat'));
1037
1038
		$output = '';