Created
August 18, 2014 15:13
-
-
Save jakelear/1df25140352c69799986 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/lib/entry_group_auto_populator.rb b/lib/entry_group_auto_populator.rb | |
| index 2d5e5ca..4f5bf54 100644 | |
| --- a/lib/entry_group_auto_populator.rb | |
| +++ b/lib/entry_group_auto_populator.rb | |
| @@ -24,7 +24,7 @@ class EntryGroupAutoPopulator | |
| end | |
| # bugzid 161370 | |
| - if entry.community.is_a?(Blog) && entry.community.regional_hub | |
| + if !entry.is_a?(FanPost) && entry.community.is_a?(Blog) && entry.community.regional_hub | |
| groups_to_populate << entry.community.regional_hub.front_page.entry_group | |
| end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment