diff options
| author | Andrew Dolgov <fox@madoka.volgo-balt.ru> | 2011-03-29 18:01:04 +0400 |
|---|---|---|
| committer | Andrew Dolgov <fox@madoka.volgo-balt.ru> | 2011-03-29 18:01:04 +0400 |
| commit | add81ec7a7557ca86298019b49280b7d93aea790 (patch) | |
| tree | c291bd9ed47d234144b3689532cc61492e06641e /modules/pref-feeds.php | |
| parent | 7fc715a997cae462c1d036975a1878b4a4d5f7df (diff) | |
fix wrong content-type of pref-feeds/add when subscribing through an external mechanism (closes #330)
Diffstat (limited to 'modules/pref-feeds.php')
| -rw-r--r-- | modules/pref-feeds.php | 1 |
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> |