Merge pull request #19704 from atm-john/fix_validate_methode_call
Fix wrong method call
This commit is contained in:
commit
cd8613e9db
@ -7615,7 +7615,7 @@ abstract class CommonObject
|
|||||||
$selectkey = $InfoFieldList[2];
|
$selectkey = $InfoFieldList[2];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!isInDb($value_arr, $InfoFieldList[0], $selectkey)) {
|
if (!$validate->isInDb($value_arr, $InfoFieldList[0], $selectkey)) {
|
||||||
$this->setFieldError($fieldKey, $validate->error);
|
$this->setFieldError($fieldKey, $validate->error);
|
||||||
return false;
|
return false;
|
||||||
} else { return true; }
|
} else { return true; }
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user