Commit bf0acf42436fb24344a54868c84a79ce3ff5aada
1 parent
fc7efd2f
Exists in
master
and in
29 other branches
Fix bug at display content block
Showing
1 changed file
with
1 additions
and
2 deletions
Show diff stats
plugins/display_content/lib/display_content_block.rb
@@ -62,11 +62,10 @@ class DisplayContentBlock < Block | @@ -62,11 +62,10 @@ class DisplayContentBlock < Block | ||
62 | def content(args={}) | 62 | def content(args={}) |
63 | docs = owner.articles.find(:all, :conditions => {:id => self.nodes}) | 63 | docs = owner.articles.find(:all, :conditions => {:id => self.nodes}) |
64 | 64 | ||
65 | - content_sections = '' | ||
66 | - | ||
67 | block_title(title) + | 65 | block_title(title) + |
68 | content_tag('ul', docs.map {|item| | 66 | content_tag('ul', docs.map {|item| |
69 | 67 | ||
68 | + content_sections = '' | ||
70 | read_more_section = '' | 69 | read_more_section = '' |
71 | tags_section = '' | 70 | tags_section = '' |
72 | 71 |