Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 2512-2514 (lines=3) @@
2509
				'minute' => '',
2510
				'meridian' => ''
2511
			);
2512
			foreach ($keys as $key) {
2513
				$attrs[$key]['id'] = $attributes['id'][strtolower($key)];
2514
			}
2515
		}
2516
		if ($hasId && is_string($attributes['id'])) {
2517
			// build out an array version
@@ 2532-2534 (lines=3) @@
2529
				'minute' => true,
2530
				'meridian' => true
2531
			);
2532
			foreach ($keys as $key) {
2533
				$attrs[$key]['empty'] = $attributes['empty'][strtolower($key)];
2534
			}
2535
		}
2536
2537
		$selects = array();