summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-03-29 18:01:04 +0400
committerAndrew Dolgov <[email protected]>2011-03-29 18:01:04 +0400
commitadd81ec7a7557ca86298019b49280b7d93aea790 (patch)
treec291bd9ed47d234144b3689532cc61492e06641e /modules
parent7fc715a997cae462c1d036975a1878b4a4d5f7df (diff)
fix wrong content-type of pref-feeds/add when subscribing through an external mechanism (closes #330)
Diffstat (limited to 'modules')
-rw-r--r--modules/pref-feeds.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php
index 9b06cbe5f..e202c2ca4 100644
--- a/modules/pref-feeds.php
+++ b/modules/pref-feeds.php
@@ -962,6 +962,7 @@
$auth_pass = db_escape_string(trim($_POST["auth_pass"]));
if ($p_from != 'tt-rss') {
+ header("Content-Type: text/html");
print "<html>
<head>
<title>Tiny Tiny RSS</title>