Browse Source

revert accidental change in db ActiveRecord

tags/2.0.0-beta
Carsten Brandt 11 years ago
parent
commit
04a0ca5aab
  1. 2
      framework/yii/db/ActiveRecord.php

2
framework/yii/db/ActiveRecord.php

@ -268,7 +268,7 @@ class ActiveRecord extends Model
*/ */
public static function tableName() public static function tableName()
{ {
return static::getTableSchema()->name; return 'tbl_' . Inflector::camel2id(StringHelper::basename(get_called_class()), '_');
} }
/** /**

Loading…
Cancel
Save