Fix bug.
This commit is contained in:
parent
a126481acb
commit
10f7e57270
|
@ -442,6 +442,8 @@ class Bulletin
|
||||||
else
|
else
|
||||||
type = 'create'
|
type = 'create'
|
||||||
end
|
end
|
||||||
|
elsif self.is_hidden
|
||||||
|
return []
|
||||||
end
|
end
|
||||||
related_feeds = self.get_related_feeds.select{|feed| feed.remote_urls.count != 0}
|
related_feeds = self.get_related_feeds.select{|feed| feed.remote_urls.count != 0}
|
||||||
if related_feeds.count != 0
|
if related_feeds.count != 0
|
||||||
|
|
Loading…
Reference in New Issue