Fix: textarea field was not detected
This commit is contained in:
parent
5580a4cc30
commit
91b8f33ea5
@ -189,8 +189,8 @@ class Form
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
if ($typeofdata == 'email') $ret.=dol_print_email($value,0,0,0,0,1);
|
if ($typeofdata == 'email') $ret.=dol_print_email($value,0,0,0,0,1);
|
||||||
|
elseif (preg_match('/^text/',$typeofdata) || preg_match('/^note/',$typeofdata)) $ret.=dol_htmlentitiesbr($value);
|
||||||
elseif ($typeofdata == 'day' || $typeofdata == 'datepicker') $ret.=dol_print_date($value,'day');
|
elseif ($typeofdata == 'day' || $typeofdata == 'datepicker') $ret.=dol_print_date($value,'day');
|
||||||
elseif ($typeofdata == 'text' || $typeofdata == 'textarea') $ret.=dol_htmlentitiesbr($value);
|
|
||||||
else if (preg_match('/^select;/',$typeofdata))
|
else if (preg_match('/^select;/',$typeofdata))
|
||||||
{
|
{
|
||||||
$arraydata=explode(',',preg_replace('/^select;/','',$typeofdata));
|
$arraydata=explode(',',preg_replace('/^select;/','',$typeofdata));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user