dblayeroo : do not generate an error on verify if a parameter is not provided
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4301 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -2816,7 +2816,7 @@ class dblayeroo
|
|||||||
$i = 0;
|
$i = 0;
|
||||||
foreach (explode (",", $fields) as $key=>$field)
|
foreach (explode (",", $fields) as $key=>$field)
|
||||||
{
|
{
|
||||||
if ($values[$field] !== null)
|
if (key_exists ($field, $values) && $values[$field] !== null)
|
||||||
{
|
{
|
||||||
$objTmp->whereAdd ($parentField[$key], "=", $values[$field]);
|
$objTmp->whereAdd ($parentField[$key], "=", $values[$field]);
|
||||||
$i++;
|
$i++;
|
||||||
|
|||||||
Reference in New Issue
Block a user