Skip to content

Commit

Permalink
Merge pull request #20 from Talwoasc/patch-1
Browse files Browse the repository at this point in the history
Fix property names in AuditFieldBehavior.php
  • Loading branch information
cornernote committed Jul 15, 2014
2 parents 7ed7954 + 85dc0ec commit 4b31545
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 4b31545

Please sign in to comment.