Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Damn titles that include commas!
  • Loading branch information
davorg committed Sep 9, 2014
1 parent 958f873 commit 23e40a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Kinza/lib/Kinza.pm
Expand Up @@ -179,7 +179,7 @@ get '/reports/form' => sub {
foreach my $s ($f->students->search({}, { order_by => 'name' })) {
$csv .= $s->name;
foreach my $a ($s->sorted_attendances) {
$csv .= ',' . $a->presentation->course->title;
$csv .= ',"' . $a->presentation->course->title . '"';
}
$csv .= "\n";
}
Expand Down

0 comments on commit 23e40a9

Please sign in to comment.