diff --git a/CHANGELOG.md b/CHANGELOG.md index cdf7f8c..e9f44cc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Release Notes for Entry Meta +## 3.0.2 - 2022-08-31 +### Fixed +- Fixed validation message + ## 3.0.1 - 2022-08-31 ### Added - Cache enabled elements diff --git a/src/models/Settings.php b/src/models/Settings.php index 7f3194d..2be800a 100644 --- a/src/models/Settings.php +++ b/src/models/Settings.php @@ -25,9 +25,9 @@ public function rules() : array } if (!class_exists($val[1])) { - $this->addError($attr,"Active Record Class {$val[0]} does not exist"); + $this->addError($attr,"Active Record Class {$val[1]} does not exist"); } elseif (!is_subclass_of($val[1],ActiveRecord::class)) { - $this->addError($attr,"Class {$val[0]} is not an Active Record Class"); + $this->addError($attr,"Class {$val[1]} is not an Active Record Class"); } } }]