mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 06:15:19 +08:00

committed by
Carsten Brandt

parent
6e6005b148
commit
6a6caf717b
@ -62,6 +62,7 @@ Yii Framework 2 Change Log
|
||||
- Bug #3989: Fixed yii\log\FileTarget::$rotateByCopy to avoid any rename (cebe)
|
||||
- Bug #3996: Traversing `Yii::$app->session` may cause a PHP error (qiangxue)
|
||||
- Bug #4020: OCI column detection did not work so gii and other things failed (Sanya1991)
|
||||
- Bug #4105: Html::dropDownlist options encodeSpaces was not applied to subgroups (MDMunir)
|
||||
- Bug #4123: Trace level in logger had no effect in Targets, traces where not logged (cebe)
|
||||
- Bug #4127: `CaptchaValidator` clientside error message wasn't formed properly (samdark)
|
||||
- Bug #4162: Fixed bug where schema name was not used in ’SHOW CREATE TABLE’ query in `yii\db\mysql\Schema` (stevekr)
|
||||
|
@ -1557,7 +1557,7 @@ class BaseHtml
|
||||
if (is_array($value)) {
|
||||
$groupAttrs = isset($groups[$key]) ? $groups[$key] : [];
|
||||
$groupAttrs['label'] = $key;
|
||||
$attrs = ['options' => $options, 'groups' => $groups];
|
||||
$attrs = ['options' => $options, 'groups' => $groups, 'encodeSpaces' => $encodeSpaces];
|
||||
$content = static::renderSelectOptions($selection, $value, $attrs);
|
||||
$lines[] = static::tag('optgroup', "\n" . $content . "\n", $groupAttrs);
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user