Skip to content

Commit

Permalink
Merge pull request #90 from jbinard/master
Browse files Browse the repository at this point in the history
Fixed issue #7915: Export to R -> Bug with answers containing double quotes
  • Loading branch information
c-schmitz committed Jun 14, 2013
2 parents 046a64d + 1b44c7c commit ba2f2d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions application/controllers/admin/export.php
Expand Up @@ -787,6 +787,7 @@ public function exportr()
$str = "";
foreach ( $answers as $answer )
{
$answer['value'] = str_replace("\"", "\\\"", $answer['value']); // Escape double quotes
$str .= ", \"{$answer['value']}\"";
}

Expand Down

0 comments on commit ba2f2d4

Please sign in to comment.