From 019b10c9eb6e0ffe760b371012b96054672ca473 Mon Sep 17 00:00:00 2001 From: John BOTELLA Date: Tue, 28 Dec 2021 18:27:29 +0100 Subject: [PATCH] Fix wrong method call --- htdocs/core/class/commonobject.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/class/commonobject.class.php b/htdocs/core/class/commonobject.class.php index 38449d1fba1..860e1b2ac24 100644 --- a/htdocs/core/class/commonobject.class.php +++ b/htdocs/core/class/commonobject.class.php @@ -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; }