summaryrefslogtreecommitdiff
path: root/search.php
diff options
context:
space:
mode:
Diffstat (limited to 'search.php')
-rw-r--r--search.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/search.php b/search.php
index d68beec..0aeb0b9 100644
--- a/search.php
+++ b/search.php
@@ -114,7 +114,7 @@ try {
}
}
- echo implode(" - ", $out);
+ echo implode(" - ", $out) . "\n";
} catch (Exception $e) {
echo $e->getMessage() . "\n";die();
@@ -126,5 +126,5 @@ function read_stdin()
$input = fgets($fr,128); // read a maximum of 128 characters
$input = rtrim($input); // trim any trailing spaces.
fclose ($fr); // close the file handle
- return $input . "\n"; // return the text entered
+ return $input; // return the text entered
}