AnsweredAssumed Answered

translate function truncate after 10 chars ?

Question asked by Jonathan Houle on Apr 15, 2016
Latest reply on Apr 16, 2016 by Jonathan Houle

Hi,

 

I use the translate function to get the label of a dropdown list. However, the result is truncated at 10 chars.

 

$bean->region_c = "Lajemmerais";

$value = translate($bean->field_defs['region_c']['options'], '', $bean->region_c);

 

$value will contain : Lajemmerai

 

Using Sugar 6.5 CE.

 

Any cues ?

 

Thanks,

 

Jonathan

Outcomes