mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Fixing logic error in PR #1817
This commit is contained in:
parent
67b1041401
commit
ed1a2c40eb
1 changed files with 1 additions and 1 deletions
|
@ -672,7 +672,7 @@ def load_single_feed(request, feed_id):
|
||||||
# User must be subscribed to a newsletter in order to read it
|
# User must be subscribed to a newsletter in order to read it
|
||||||
raise Http404
|
raise Http404
|
||||||
|
|
||||||
if feed.num_subscribers = 1 and not usersub:
|
if feed.num_subscribers == 1 and not usersub and not user.is_staff:
|
||||||
# This feed could be private so user must be subscribed in order to read it
|
# This feed could be private so user must be subscribed in order to read it
|
||||||
raise Http404
|
raise Http404
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue