diff --git a/src/Extension/ChangeRecordable.php b/src/Extension/ChangeRecordable.php index ac69c48..a8f6b01 100644 --- a/src/Extension/ChangeRecordable.php +++ b/src/Extension/ChangeRecordable.php @@ -61,7 +61,7 @@ public function onBeforeDelete() public function getIgnoredFields() { - $ignored = Config::inst()->get('ChangeRecordable', 'ignored_fields'); + $ignored = Config::inst()->get(ChangeRecordable::class, 'ignored_fields'); $class = $this->owner->ClassName; if (isset($ignored[$class])) { return array_combine($ignored[$class], $ignored[$class]);