diff options
author | Joe Robinson <joe@lc8n.com> | 2015-12-07 00:37:50 +0000 |
---|---|---|
committer | Joe Robinson <joe@lc8n.com> | 2015-12-07 00:37:50 +0000 |
commit | 6ede577a74cee606cdde72b57e01ccc9e3295ea6 (patch) | |
tree | 2f927fa897bc41993b8d79f468123b96de27eac2 /search.php | |
parent | dcfca35dd4a41977e040e43c1dcca9ac527dac39 (diff) |
Move newline at end of output to the correct place
Diffstat (limited to 'search.php')
-rw-r--r-- | search.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 } |