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
03b88dd6
Commit
03b88dd6
authored
Oct 08, 2014
by
Kartik Visweswaran
Committed by
Alexander Makarov
Oct 08, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes #5424: `Html::addCssStyle()` wasn't correctly setting style passed in array
parent
1b6431f4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
CHANGELOG.md
framework/CHANGELOG.md
+1
-0
BaseHtml.php
framework/helpers/BaseHtml.php
+2
-2
No files found.
framework/CHANGELOG.md
View file @
03b88dd6
...
...
@@ -10,6 +10,7 @@ Yii Framework 2 Change Log
-
Bug #5323: Nested dropdown does not work for
`yii\bootstrap\DropDown`
(aryraditya)
-
Bug #5336:
`yii\bootstrap\DropDown`
should register bootstrap plugin asset (zelenin)
-
Bug #5379:
`Module::afterAction()`
was called even when
`beforeAction()`
returned false (cebe)
-
Bug #5424:
`Html::addCssStyle()`
wasn't correctly setting style passed in array (kartik-v, samdark)
-
Bug: Date and time formatting now assumes UTC as the timezone for input dates unless a timezone is explicitly given (cebe)
-
Enh #4040: Added
`$viewFile`
and
`$params`
to the
`EVENT_BEFORE_RENDER`
and
`EVENT_AFTER_RENDER`
events for
`View`
(qiangxue)
-
Enh #4275: Added
`removeChildren()`
to
`yii\rbac\ManagerInterface`
and implementations (samdark)
...
...
framework/helpers/BaseHtml.php
View file @
03b88dd6
...
...
@@ -1703,9 +1703,9 @@ class BaseHtml
}
}
}
$style
=
static
::
cssStyleFromArray
(
array_merge
(
$oldStyle
,
$newStyle
)
);
$style
=
array_merge
(
$oldStyle
,
$newStyle
);
}
$options
[
'style'
]
=
$style
;
$options
[
'style'
]
=
is_array
(
$style
)
?
static
::
cssStyleFromArray
(
$style
)
:
$style
;
}
/**
...
...
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