Commit 07e6b5ab77058e8e8466ff698ecf94d228163ec8

Authored by Leandro Santos
1 parent 2004e819

define empty array as default valur for types

plugins/display_content/lib/display_content_block.rb
... ... @@ -24,7 +24,7 @@ class DisplayContentBlock < Block
24 24 {:value => 'title', :checked => true},
25 25 {:value => 'abstract', :checked => true}]
26 26 settings_items :display_folder_children, :type => :boolean, :default => true
27   - settings_items :types, :type => Array
  27 + settings_items :types, :type => Array, :default => []
28 28  
29 29 def self.description
30 30 _('Display your contents')
... ...