Browse Source

\yii\db\ActiveRecord updated

tags/2.0.0-beta
Alexander Kochetov 11 years ago
parent
commit
a1deac81c3
  1. 2
      framework/yii/db/ActiveRecord.php

2
framework/yii/db/ActiveRecord.php

@ -184,7 +184,7 @@ class ActiveRecord extends BaseActiveRecord
*/
public static function tableName()
{
return static::getDb()->tablePrefix . Inflector::camel2id(StringHelper::basename(get_called_class()), '_');
return '{{%' . Inflector::camel2id(StringHelper::basename(get_called_class()), '_') . '}}';
}
/**

Loading…
Cancel
Save