[svn r12421] Fix a bug with the CSV export

skala
Julian Prud'homme 18 years ago
parent c85260eee3
commit 02f82f5395
  1. 4
      main/inc/lib/export.lib.inc.php

@ -47,9 +47,9 @@ class Export
foreach ($data as $index => $row)
{
$line = '';
for($i = 0 ; $i<count($row) ; $i++)
foreach($row as $value)
{
$line .= '"'.str_replace('"','""',$row[$i]).'";';
$line .= '"'.str_replace('"','""',$value).'";';
}
fwrite($handle, $line."\n");

Loading…
Cancel
Save