Commit 07e6b5ab77058e8e8466ff698ecf94d228163ec8
1 parent
2004e819
Exists in
master
and in
29 other branches
define empty array as default valur for types
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
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') | ... | ... |