From d8cb67ff6021fa4041613958e0dfd2dc32159691 Mon Sep 17 00:00:00 2001 From: Julio Cesar Laura Date: Thu, 3 Jan 2013 16:38:46 -0400 Subject: [PATCH] BUG 10260 Hidden Tag mal formado en propiedades de Triggers SOLVED - The label tag are included for all fields types - Only include label tag when is necessary --- gulliver/system/class.xmlform.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulliver/system/class.xmlform.php b/gulliver/system/class.xmlform.php index d8059ac9d..33fdb0450 100755 --- a/gulliver/system/class.xmlform.php +++ b/gulliver/system/class.xmlform.php @@ -5457,7 +5457,7 @@ class xmlformTemplate extends Smarty $value = (isset( $form->values[$k] )) ? $form->values[$k] : null; $result[$k] = G::replaceDataField( $form->fields[$k]->label, $form->values ); if ($form->type == 'xmlform') { - if ($v->type != 'checkgroup' && $v->type != 'radiogroup') { + if (in_array($v->type, array('text', 'currency', 'percentage', 'password', 'suggest', 'textarea', 'dropdown', 'yesno', 'listbox', 'checkbox', 'date', 'link', 'file'))) { $result[$k] = ''; } }