Skip to content

Commit

Permalink
Fix for obsolete features
Browse files Browse the repository at this point in the history
  • Loading branch information
cykod committed Jul 29, 2010
1 parent a647e60 commit 37c7c2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/site_feature.rb
Expand Up @@ -118,7 +118,7 @@ def style_details(override = true)

def export_to_bundle(bundler)
details = self.feature_details
return nil if details.size == 4 # ContentPublication feature
return nil if !details || details.size == 4 # ContentPublication feature

module_name = details[2].to_s.underscore.split('/')[0]
(bundler.modules << module_name) if module_name != 'editor'
Expand Down

0 comments on commit 37c7c2c

Please sign in to comment.