Browse Source

Typo fix.

tags/2.0.0-beta
Qiang Xue 11 years ago
parent
commit
70c23ca43b
  1. 4
      framework/yii/widgets/ActiveField.php

4
framework/yii/widgets/ActiveField.php

@ -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'];
}
}

Loading…
Cancel
Save