Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-07-10 09:32:11 +0200
committerErich Eckner <git@eckner.net>2018-07-10 09:32:11 +0200
commitb25c0f34d54af2928be99d6fd3b0f1a691e6873d (patch)
tree8f7add41c7a4a774f657c41b00f92c70f91f3f82
parentc634b6177e011be129f6c740b651d29307bc4c7e (diff)
lib/format.php: tsv should end with lf
-rw-r--r--lib/format.php4
1 files changed, 2 insertions, 2 deletions
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"]
)