Skip to content

Commit

Permalink
Added 'remove \r and \n' to abbreviated answers
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/Shitiz/Downloads/lssvn/trunk/unstable@636 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
jcleeland committed Aug 12, 2003
1 parent 0150213 commit 5deb3ed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions admin/export.php
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,8 @@
{$qname=$qrow['question'];}
$qname=substr($qname, 0, 15)."..";
$qname=strip_tags($qname);
$firstline = str_replace("\n", "", $firstline);
$firstline = str_replace("\r", "", $firstline);
$firstline .= "$qname";
if ($faid) {$firstline .= " [{$faid}]"; $faid="";}
$firstline .= "$s";
Expand Down

0 comments on commit 5deb3ed

Please sign in to comment.