\yii\db\ActiveRecord updated

This commit is contained in:
Alexander Kochetov
2014-01-09 08:01:08 +04:00
parent f4becf376c
commit a1deac81c3

View File

@@ -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()), '_') . '}}';
} }
/** /**