Commit a1deac81 by Alexander Kochetov

\yii\db\ActiveRecord updated

parent f4becf37
...@@ -184,7 +184,7 @@ class ActiveRecord extends BaseActiveRecord ...@@ -184,7 +184,7 @@ class ActiveRecord extends BaseActiveRecord
*/ */
public static function tableName() public static function tableName()
{ {
return static::getDb()->tablePrefix . Inflector::camel2id(StringHelper::basename(get_called_class()), '_'); return '{{%' . Inflector::camel2id(StringHelper::basename(get_called_class()), '_') . '}}';
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment