mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Fixing field() issue in HtmlHelper::radio()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3445 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
0856014477
commit
a4dbb38d78
1 changed files with 1 additions and 1 deletions
|
@ -424,7 +424,7 @@ class HtmlHelper extends Helper {
|
|||
$optionsHere = array('value' => $optValue);
|
||||
$optValue == $value ? $optionsHere['checked'] = 'checked' : null;
|
||||
$parsedOptions = $this->parseHtmlOptions(array_merge($htmlAttributes, $optionsHere), null, '', ' ');
|
||||
$individualTagName = "{$this->field}_{$optValue}";
|
||||
$individualTagName = $this->field() . "_{$optValue}";
|
||||
$out[] = sprintf($this->tags['radio'], $this->model(), $this->field(), $individualTagName, $parsedOptions, $optTitle);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue