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
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Rotua Panjaitan
yii2
Commits
7e446162
Commit
7e446162
authored
Jan 12, 2014
by
Qiang Xue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes #1326: The `visible` setting for `DetailView` doesn't work as expected
parent
bf6b2f0a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
CHANGELOG.md
framework/CHANGELOG.md
+1
-0
DetailView.php
framework/widgets/DetailView.php
+1
-0
No files found.
framework/CHANGELOG.md
View file @
7e446162
...
...
@@ -4,6 +4,7 @@ Yii Framework 2 Change Log
2.
0.0 beta under development
----------------------------
-
Bug #1326: The
`visible`
setting for
`DetailView`
doesn't work as expected (qiangxue)
-
Bug #1446: Logging while logs are processed causes infinite loop (qiangxue)
-
Bug #1497: Localized view files are not correctly returned (mintao)
-
Bug #1500: Log messages exported to files are not separated by newlines (omnilight, qiangxue)
...
...
framework/widgets/DetailView.php
View file @
7e446162
...
...
@@ -187,6 +187,7 @@ class DetailView extends Widget
}
if
(
isset
(
$attribute
[
'visible'
])
&&
!
$attribute
[
'visible'
])
{
unset
(
$this
->
attributes
[
$i
]);
continue
;
}
...
...
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