diff --git a/View/Helper/FormInputHelper.php b/View/Helper/FormInputHelper.php index 79f1dcc0..657e5572 100644 --- a/View/Helper/FormInputHelper.php +++ b/View/Helper/FormInputHelper.php @@ -262,7 +262,7 @@ private function __inArrayForChecked($needle, $haystack) { * @return string */ private function __bootstrapCheckbox($fieldName, $checkboxClass, $label, $escape, $inputOptions) { - $domId = Hash::get($inputOptions, 'id', $this->domId($fieldName)); + $domId = Hash::get($inputOptions, 'id', $this->Form->domId($fieldName)); $inputOptions = Hash::remove($inputOptions, 'type'); $input = '