index : archweb32 | |
Archlinux32 website | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | lib/format.php | 4 |
diff --git a/lib/format.php b/lib/format.php index 6c18648..1440b64 100644 --- a/lib/format.php +++ b/lib/format.php @@ -19,10 +19,10 @@ function export_as_requested($content) { if (! isset($_GET["no-headers"])) print implode("\t",array_keys($content["tsv"][0])) . "\n"; print implode( - "\n", + "", array_map( function($row){ - return implode("\t",$row); + return implode("\t",$row) . "\n"; }, $content["tsv"] ) |