diff --git a/lib/Cake/Controller/Component/SecurityComponent.php b/lib/Cake/Controller/Component/SecurityComponent.php index 39110b7c5..87e4211eb 100644 --- a/lib/Cake/Controller/Component/SecurityComponent.php +++ b/lib/Cake/Controller/Component/SecurityComponent.php @@ -470,8 +470,8 @@ class SecurityComponent extends Component { $multi = array(); foreach ($fieldList as $i => $key) { - if (preg_match('/(\.\d{1,10})+$/', $key)) { - $multi[$i] = preg_replace('/(\.\d{1,10})+$/', '', $key); + if (preg_match('/(\.\d+){1,10}$/', $key)) { + $multi[$i] = preg_replace('/(\.\d+){1,10}$/', '', $key); unset($fieldList[$i]); } }