Bug in FlatFiles.php ??!!

CzechBoy

No avatar

2007-03-05 10:53

When I set Courrier to "Česká Pošta" (Czech Post) it displays as "eská Pošta" without first letter. I found out that already in couriers.php when I write "print_r($aData);exit;" after $aData = dbListCouriers( ); it displays it wrong...
The same problem is when customer orders a product and set as his surname name for example "Švec" it displays as "vec" ... it is very baaad bug because it changes important data as name of customers, their addresses etc....

Do you know any way how to correct this?? thanks in advance

» Quick.Cart v2.x

Oldrich Svec

CzechBoy

No avatar

2007-03-05 19:01

So I have found that it is a bug in php when usign fgetcsv function. See here: http://bugs.php.net/bug.php?id=12127 and the solution is to setlocale in general.php. For czech language this works: setlocale(LC_ALL, "cs_CZ");

Oldrich Svec

Back to top
about us | contact