fix wrong content-type of pref-feeds/add when subscribing through an external mechanism (closes #330)

This commit is contained in:
Andrew Dolgov 2011-03-29 18:01:04 +04:00
parent 7fc715a997
commit add81ec7a7
1 changed files with 1 additions and 0 deletions

View File

@ -962,6 +962,7 @@
$auth_pass = db_escape_string(trim($_POST["auth_pass"])); $auth_pass = db_escape_string(trim($_POST["auth_pass"]));
if ($p_from != 'tt-rss') { if ($p_from != 'tt-rss') {
header("Content-Type: text/html");
print "<html> print "<html>
<head> <head>
<title>Tiny Tiny RSS</title> <title>Tiny Tiny RSS</title>