From: Andrew Dolgov Date: Thu, 12 Jul 2007 05:15:22 +0000 (+0100) Subject: fix not logged in error handling from viewfeed/article calls X-Git-Tag: 1.2.13~10 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=2e918d9d02990e5a499110d88f9785a1c1d58cf3;p=tt-rss.git fix not logged in error handling from viewfeed/article calls --- diff --git a/backend.php b/backend.php index 0bed4672..1bf37f66 100644 --- a/backend.php +++ b/backend.php @@ -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 "