Fix Return value is always utf8 encoded and without entities.

This commit is contained in:
Laurent Destailleur 2015-06-07 02:43:51 +02:00
parent b57f0a0e5f
commit 536f565d4e

View File

@ -352,7 +352,7 @@ function getState($id,$withcode='',$dbtouse=0)
}
else
{
return $langs->trans("NotDefined");
return $langs->transnoentitiesnoconv("NotDefined");
}
}
else dol_print_error($dbtouse,'');