Skip to content

Commit

Permalink
Issue #27.
Browse files Browse the repository at this point in the history
  • Loading branch information
coreation committed May 30, 2013
1 parent 78af663 commit 9839d6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tdt/formatters/strategies/CSV.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ class CSV extends \tdt\formatters\AStrategy{

public function printHeader(){
header("Access-Control-Allow-Origin: *");
header("Content-Type: text/html;charset=UTF-8");
header("Content-Type: text/csv;charset=UTF-8");
}

/**
* encloses the $element in double quotes
* Encloses the $element in double quotes.
*/
private function enclose($element){
$element = rtrim($element, '"');
Expand Down

0 comments on commit 9839d6b

Please sign in to comment.