SiT! Bugs - SiT!
View Issue Details
0001301SiT!i18npublic2010-04-27 12:292010-05-20 10:43
vitorcosta 
 
normalminoralways
acknowledgedopen 
LinuxLinux2.6+later
3.60 LTS 
 
0001301: Function populate_syslang appear not work as expected
in lib/funcions.inc.php line 7670 sit tryind concatenad two arrays from en-gb + default system language:

$lines = $nativelines += explode ("/n",$thedata);

result is only $nativelines and not merge both.

i change it to:

$lines = array_merge ($nativelines,explode ("/n",$thedata);
- Set default system langua to any other (non en-GB).
- Go as contact in portal
- Create a new incident
- Consult the incidente
- The Description will be in en-GB (wrrong), not system language (right)
No tags attached.
Issue History
2010-04-27 12:29vitorcostaNew Issue
2010-05-03 18:04paulhSummaryFuncion populate_syslang apear not work as spected => Function populate_syslang appear not work as expected
2010-05-03 18:04paulhSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=154#r154
2010-05-20 10:43ivanNote Added: 0003164
2010-05-20 10:43ivanStatusnew => acknowledged

Notes
(0003164)
ivan   
2010-05-20 10:43   
Thanks for the report and the suggested fix. I haven't tried to reproduce this yet, but thanks.