]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix not logged in error handling from viewfeed/article calls
authorAndrew Dolgov <fox@madoka.spb.ru>
Thu, 12 Jul 2007 05:15:22 +0000 (06:15 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Thu, 12 Jul 2007 05:15:22 +0000 (06:15 +0100)
backend.php

index 0bed467284afd84e1a7f13f078170f288eca0f68..1bf37f6658b82bfe300c5ba61d2978878d942021 100644 (file)
@@ -71,7 +71,7 @@
        if (!($_SESSION["uid"] && validate_session($link)) && $op != "globalUpdateFeeds" 
                        && $op != "rss" && $op != "getUnread") {
 
-               if ($op == "rpc") {
+               if ($op == "rpc" || $op == "viewfeed" || $op == "view") {
                        print_error_xml(6); die;
                } else {
                        print "