dblayeroo: remove not needed exception

git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3794 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2017-06-30 09:34:04 +00:00
parent 83955b2028
commit 5958dadc12

View File

@@ -2554,12 +2554,7 @@ class dblayeroo
$objTmp->displayAdd ($objTmp->primary);
$parentField = explode (",", $params[1]);
foreach (explode (",", $fields) as $key=>$field)
{
if (! key_exists ($field, $values))
$this->DBException (sprintf (dgettext ("domframework",
"Can't check the foreign value for '%s': not provided"), $field));
$objTmp->whereAdd ($parentField[$key], "=", $values[$field]);
}
if (count ($objTmp->execute ()) === 0)
$errors[$field] = sprintf (dgettext ("domframework",
"The value of the foreign key '%s' doesn't exists in foreign table"),