We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b5b4ad3 + 86ac79d commit 66c1d8aCopy full SHA for 66c1d8a
1 file changed
system/Model.php
@@ -1266,8 +1266,8 @@ public function validate($data): bool
1266
// the value found in $data, if exists.
1267
$rules = $this->fillPlaceholders($this->validationRules, $data);
1268
1269
- $this->validation->setRules($rules, $this->validationMessages, $this->DBGroup);
1270
- $valid = $this->validation->run($data);
+ $this->validation->setRules($rules, $this->validationMessages);
+ $valid = $this->validation->run($data, null, $this->DBGroup);
1271
}
1272
1273
return (bool) $valid;
0 commit comments