Fixes #16151: Change of scope for method getTableNameAndAlias()

This commit is contained in:
Evgeniy Moiseenko
2018-09-19 19:31:43 +03:00
committed by Alexander Makarov
parent a8bfe8bbe6
commit 7119ff5756
2 changed files with 3 additions and 2 deletions

View File

@ -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)

View File

@ -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();