]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix wrong content-type of pref-feeds/add when subscribing through an external mechani...
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 29 Mar 2011 14:01:04 +0000 (18:01 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 29 Mar 2011 14:01:04 +0000 (18:01 +0400)
modules/pref-feeds.php

index 9b06cbe5fc49eed48859dac03678de1ec7de88aa..e202c2ca400dfa5f457ba40039c112872066524d 100644 (file)
                        $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>