Merge pull request #19704 from atm-john/fix_validate_methode_call

Fix wrong method call
This commit is contained in:
Laurent Destailleur 2021-12-30 12:46:12 +01:00 committed by GitHub
commit cd8613e9db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7615,7 +7615,7 @@ abstract class CommonObject
$selectkey = $InfoFieldList[2];
}
if (!isInDb($value_arr, $InfoFieldList[0], $selectkey)) {
if (!$validate->isInDb($value_arr, $InfoFieldList[0], $selectkey)) {
$this->setFieldError($fieldKey, $validate->error);
return false;
} else { return true; }