fix not logged in error handling from viewfeed/article calls

This commit is contained in:
Andrew Dolgov 2007-07-12 06:15:22 +01:00
parent bf7fcde8d5
commit 2e918d9d02

View 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 "