Merged revisions 50187 via svnmerge from

http://svn.silverstripe.com/open/modules/cms/branches/2.2.1asfonz

........
  r50187 | aoneil | 2008-02-26 14:01:26 +1300 (Tue, 26 Feb 2008) | 2 lines
  
  Fix incorrect delimiter in CSV export of GenericDataAdmin
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@50341 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sam Minnee 2008-02-28 00:40:31 +00:00
parent 2e7c1fd4c9
commit ed096f66fb

View File

@ -444,7 +444,7 @@ HTML;
$csv_columns = ($this->stat('csv_columns')) ? array_values($this->stat('csv_columns')) : array_values($this->stat('result_columns'));
$fileData = "";
$fileData .= "\"" . implode("\";\"",$csv_columns) . "\"";
$fileData .= "\"" . implode("\",\"",$csv_columns) . "\"";
$fileData .= "\n";
$records = $this->performSearch();