Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
6a6caf71
Commit
6a6caf71
authored
Jul 20, 2014
by
Misbahul D Munir
Committed by
Carsten Brandt
Jul 20, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dropDownList encodeSpaces for subgroups
fixes #4105, close #4376
parent
6e6005b1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
CHANGELOG.md
framework/CHANGELOG.md
+1
-0
BaseHtml.php
framework/helpers/BaseHtml.php
+1
-1
No files found.
framework/CHANGELOG.md
View file @
6a6caf71
...
@@ -62,6 +62,7 @@ Yii Framework 2 Change Log
...
@@ -62,6 +62,7 @@ Yii Framework 2 Change Log
-
Bug #3989: Fixed yii
\l
og
\F
ileTarget::$rotateByCopy to avoid any rename (cebe)
-
Bug #3989: Fixed yii
\l
og
\F
ileTarget::$rotateByCopy to avoid any rename (cebe)
-
Bug #3996: Traversing
`Yii::$app->session`
may cause a PHP error (qiangxue)
-
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 #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 #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 #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)
-
Bug #4162: Fixed bug where schema name was not used in ’SHOW CREATE TABLE’ query in
`yii\db\mysql\Schema`
(stevekr)
...
...
framework/helpers/BaseHtml.php
View file @
6a6caf71
...
@@ -1557,7 +1557,7 @@ class BaseHtml
...
@@ -1557,7 +1557,7 @@ class BaseHtml
if
(
is_array
(
$value
))
{
if
(
is_array
(
$value
))
{
$groupAttrs
=
isset
(
$groups
[
$key
])
?
$groups
[
$key
]
:
[];
$groupAttrs
=
isset
(
$groups
[
$key
])
?
$groups
[
$key
]
:
[];
$groupAttrs
[
'label'
]
=
$key
;
$groupAttrs
[
'label'
]
=
$key
;
$attrs
=
[
'options'
=>
$options
,
'groups'
=>
$groups
];
$attrs
=
[
'options'
=>
$options
,
'groups'
=>
$groups
,
'encodeSpaces'
=>
$encodeSpaces
];
$content
=
static
::
renderSelectOptions
(
$selection
,
$value
,
$attrs
);
$content
=
static
::
renderSelectOptions
(
$selection
,
$value
,
$attrs
);
$lines
[]
=
static
::
tag
(
'optgroup'
,
"
\n
"
.
$content
.
"
\n
"
,
$groupAttrs
);
$lines
[]
=
static
::
tag
(
'optgroup'
,
"
\n
"
.
$content
.
"
\n
"
,
$groupAttrs
);
}
else
{
}
else
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment