改名
This commit is contained in:
@@ -742,7 +742,7 @@ abstract class BaseActiveRecord extends Component implements IOrm, ArrayAccess
|
|||||||
|
|
||||||
$table = trim($table, '{{%}}');
|
$table = trim($table, '{{%}}');
|
||||||
if ($tablePrefix) {
|
if ($tablePrefix) {
|
||||||
$table = '`' . static::getDbName() . '`.' . $tablePrefix . $table;
|
$table = $tablePrefix . $table;
|
||||||
}
|
}
|
||||||
return '`' . static::getDbName() . '`.' . $table;
|
return '`' . static::getDbName() . '`.' . $table;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user