diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index 19e313607ea..765503b7a4d 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -3217,11 +3217,11 @@ class Form { foreach ($formquestion as $key => $input) { - if (isset($input['name'])) array_push($inputok,$input['name']); + //print "xx ".$key." rr ".is_array($input)."
\n"; + if (is_array($input) && isset($input['name'])) array_push($inputok,$input['name']); if (isset($input['inputko']) && $input['inputko'] == 1) array_push($inputko,$input['name']); } } - // Show JQuery confirm box. Note that global var $useglobalvars is used inside this template $formconfirm.= '