Fix Return value is always utf8 encoded and without entities.
This commit is contained in:
parent
b57f0a0e5f
commit
536f565d4e
@ -352,7 +352,7 @@ function getState($id,$withcode='',$dbtouse=0)
|
||||
}
|
||||
else
|
||||
{
|
||||
return $langs->trans("NotDefined");
|
||||
return $langs->transnoentitiesnoconv("NotDefined");
|
||||
}
|
||||
}
|
||||
else dol_print_error($dbtouse,'');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user