From 7486f2228d8c3972628efb28c2e448864c95b022 Mon Sep 17 00:00:00 2001 From: Maxime Kohlhaas Date: Fri, 26 Jun 2015 18:50:57 +0200 Subject: [PATCH] Debug : date fields were not transmitted by formconfirm --- htdocs/core/class/html.form.class.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index 24304aed904..43201c2e6c7 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -3173,6 +3173,11 @@ class Form $more.=''; $more.=$this->select_date($input['value'],$input['name'],0,0,0,'',1,0,1); $more.=''."\n"; + $formquestion[] = array('name'=>$input['name'].'day'); + $formquestion[] = array('name'=>$input['name'].'month'); + $formquestion[] = array('name'=>$input['name'].'year'); + $formquestion[] = array('name'=>$input['name'].'hour'); + $formquestion[] = array('name'=>$input['name'].'min'); } else if ($input['type'] == 'other') {