mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Added missing return in Model::invalidFields()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4413 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
cca419c124
commit
b64e27d9fe
1 changed files with 1 additions and 1 deletions
|
@ -1641,7 +1641,7 @@ class Model extends Overloadable {
|
|||
}
|
||||
|
||||
if (empty($data) || !$this->beforeValidate()) {
|
||||
$this->validationErrors;
|
||||
return $this->validationErrors;
|
||||
}
|
||||
|
||||
if (!isset($this->validate) || empty($this->validate)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue