summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/backend.php b/backend.php
index 8110d4370..c57f57709 100644
--- a/backend.php
+++ b/backend.php
@@ -209,6 +209,7 @@
if (db_num_rows($result) == 1) {
$article_url = db_fetch_result($result, 0, 'link');
+ $article_url = str_replace("\n", "", $article_url);
header("Location: $article_url");
return;