Commit 70c23ca4 by Qiang Xue

Typo fix.

parent 85c774e0
......@@ -600,8 +600,8 @@ class ActiveField extends Component
*/
protected function adjustLabelFor($options)
{
if (isset($options['id']) && !isset($this->labelOptions['id'])) {
$this->labelOptions['id'] = $options['id'];
if (isset($options['id']) && !isset($this->labelOptions['for'])) {
$this->labelOptions['for'] = $options['id'];
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment