Browse Source

Fixed typo.

tags/2.0.0-beta
Qiang Xue 12 years ago
parent
commit
be189fc408
  1. 2
      yii/behaviors/AutoTimestamp.php

2
yii/behaviors/AutoTimestamp.php

@ -63,7 +63,7 @@ class AutoTimestamp extends Behavior
{
return array(
ActiveRecord::EVENT_BEFORE_INSERT => 'beforeInsert',
ActiveRecord::EVENT_BEFORE_UPDATE => 'beforeInsert',
ActiveRecord::EVENT_BEFORE_UPDATE => 'beforeUpdate',
);
}

Loading…
Cancel
Save