From d75399ef226370f0e27c4d0ffc4af7c90e34da08 Mon Sep 17 00:00:00 2001 From: Mat Fish Date: Mon, 7 Nov 2022 17:55:50 +0200 Subject: [PATCH] fix #3 --- CHANGELOG.md | 4 ++++ src/models/Settings.php | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a60a8fb..7d47a11 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Release Notes for Activity Log +## 1.1.3 - 2022-11-07 +### Fixed +- Fix error when saving setting [#3](https://github.com/matfish2/craft-activity-log/issues/3) + ## 1.1.2 - 2022-10-10 ### Added - Added `requestFilter` setting [#2](https://github.com/matfish2/craft-activity-log/issues/2) diff --git a/src/models/Settings.php b/src/models/Settings.php index 9cbccee..aa8039a 100644 --- a/src/models/Settings.php +++ b/src/models/Settings.php @@ -17,7 +17,6 @@ public function rules() : array { return [ [['recordSitePageRequests','recordSiteAjaxRequests','recordCpPageRequests','recordCpAjaxRequests','recordOnlyActions'], 'boolean'], - [['callback'],'function'] ]; } }