mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-14 14:28:27 +08:00
Fixes #16151: Change of scope for method getTableNameAndAlias()
This commit is contained in:

committed by
Alexander Makarov

parent
a8bfe8bbe6
commit
7119ff5756
@ -4,6 +4,7 @@ Yii Framework 2 Change Log
|
||||
2.0.16 under development
|
||||
------------------------
|
||||
|
||||
- Enh #16151: Change of scope for method `getTableNameAndAlias()` (s1lver)
|
||||
- Bug #14230: Fixed `itemsOptions` ignored in `checkBoxList` (s1lver)
|
||||
- Bug #14368: Added `role` attribute for active radio list (s1lver)
|
||||
- Bug #16680: Fixed ActiveField 'text' input with maxlength (s1lver)
|
||||
|
@ -575,9 +575,9 @@ class ActiveQuery extends Query implements ActiveQueryInterface
|
||||
/**
|
||||
* Returns the table name and the table alias for [[modelClass]].
|
||||
* @return array the table name and the table alias.
|
||||
* @internal
|
||||
* @since 2.0.16
|
||||
*/
|
||||
private function getTableNameAndAlias()
|
||||
protected function getTableNameAndAlias()
|
||||
{
|
||||
if (empty($this->from)) {
|
||||
$tableName = $this->getPrimaryTableName();
|
||||
|
Reference in New Issue
Block a user