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