Skip to content

Commit

Permalink
should be enableAuditField not _enableAuditField
Browse files Browse the repository at this point in the history
  • Loading branch information
cornernote committed Jul 17, 2014
1 parent f2fb398 commit 80f8584
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions audit/components/AuditFieldBehavior.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public function afterFind($event)
*/
public function afterSave($event)
{
if (!$this->_enableAuditField) {
if (!$this->enableAuditField) {
parent::afterSave($event);
return;
}
Expand Down Expand Up @@ -200,7 +200,7 @@ public function afterSave($event)
*/
public function afterDelete($event)
{
if (!$this->_enableAuditField) {
if (!$this->enableAuditField) {
parent::afterDelete($event);
return;
}
Expand Down

0 comments on commit 80f8584

Please sign in to comment.