From e022bf03db9f335c2ea129b1057522c720462a1f Mon Sep 17 00:00:00 2001 From: Denis Flaven Date: Tue, 8 Jul 2014 10:01:47 +0000 Subject: [PATCH] Oops: Protect against non-existing parameters... (occurs when configuring a list) SVN:trunk[3252] --- core/dbobjectset.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/dbobjectset.class.php b/core/dbobjectset.class.php index 55ff5eb98..ab76309d0 100644 --- a/core/dbobjectset.class.php +++ b/core/dbobjectset.class.php @@ -1111,7 +1111,7 @@ class DBObjectSet } else { - if (array_key_exists($sArgName, $aScalarArgs)) + if (!is_array($value)) // Sometimes ExtraParams contains a mix (like defaults[]) so non scalar parameters are ignored { $aScalarArgs[$sArgName] = (string) $value; }