fix not logged in error handling from viewfeed/article calls
This commit is contained in:
parent
bf7fcde8d5
commit
2e918d9d02
|
@ -71,7 +71,7 @@
|
||||||
if (!($_SESSION["uid"] && validate_session($link)) && $op != "globalUpdateFeeds"
|
if (!($_SESSION["uid"] && validate_session($link)) && $op != "globalUpdateFeeds"
|
||||||
&& $op != "rss" && $op != "getUnread") {
|
&& $op != "rss" && $op != "getUnread") {
|
||||||
|
|
||||||
if ($op == "rpc") {
|
if ($op == "rpc" || $op == "viewfeed" || $op == "view") {
|
||||||
print_error_xml(6); die;
|
print_error_xml(6); die;
|
||||||
} else {
|
} else {
|
||||||
print "
|
print "
|
||||||
|
|
Loading…
Reference in New Issue