Skip to content

Commit

Permalink
Fixed issue #3989: Javascript code in (Excel) export
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey@8168 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
c-schmitz committed Dec 15, 2009
1 parent eb49f52 commit 27f1e49
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions admin/exportresults.php
Expand Up @@ -770,17 +770,13 @@
while ($lrow=$lr->FetchRow())
{
$strlabel = $strlabel."-".$lrow['labeltitle'];
$fquest .= " [".strip_tags_full($lrow['answer'])."][".strip_tags_full($strlabel)."]";
$fquest .= " [".FlattenText($lrow['answer'])."][".FlattenText($strlabel)."]";
$j++;
}

break;

}
$fquest=strip_tags_full($fquest);

$fquest = str_replace("\n", " ", $fquest);
$fquest = str_replace("\r", "", $fquest);
$fquest=FlattenText($fquest);
if ($type == "csv")
{
$firstline .="\"$fquest\"$separator";
Expand Down

0 comments on commit 27f1e49

Please sign in to comment.