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
ebdd56f0
Commit
ebdd56f0
authored
Nov 27, 2014
by
Alexander Makarov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed #4277 behavior
parent
41fca90c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
CHANGELOG.md
framework/CHANGELOG.md
+1
-1
GridView.php
framework/grid/GridView.php
+0
-2
No files found.
framework/CHANGELOG.md
View file @
ebdd56f0
...
...
@@ -72,7 +72,7 @@ Yii Framework 2 Change Log
-
Enh:
`yii\rbac\DbManager`
migration now uses database component specified in component settings instead of always using default
`db`
(samdark)
-
Enh: Added
`yii\base\Controller::renderContent()`
(qiangxue)
-
Chg #3630:
`yii\db\Command::queryInternal()`
is now protected (samdark)
-
Chg #4277:
`yii\grid\GridView`
is no longer throwing an exception
in non-debug mode
when results are empty and
`columns`
aren't defined (samdark)
-
Chg #4277:
`yii\grid\GridView`
is no longer throwing an exception when results are empty and
`columns`
aren't defined (samdark)
-
Chg #5508: Dropped the support for the
`--append`
option for the
`fixture`
command (qiangxue)
-
Chg #5874: Upgraded Twitter Bootstrap to 3.3.x (samdark)
...
...
framework/grid/GridView.php
View file @
ebdd56f0
...
...
@@ -522,8 +522,6 @@ class GridView extends BaseListView
foreach
(
$model
as
$name
=>
$value
)
{
$this
->
columns
[]
=
$name
;
}
}
elseif
(
YII_DEBUG
)
{
throw
new
InvalidConfigException
(
'Unable to generate columns from the data. Please manually configure the "columns" property.'
);
}
}
}
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