From 2e918d9d02990e5a499110d88f9785a1c1d58cf3 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 12 Jul 2007 06:15:22 +0100 Subject: [PATCH] fix not logged in error handling from viewfeed/article calls --- backend.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 "