diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/update_importer.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/update_importer.rb b/lib/update_importer.rb index 49614b4..0cc07fe 100644 --- a/lib/update_importer.rb +++ b/lib/update_importer.rb | |||
| @@ -114,9 +114,10 @@ class UpdateImporter | |||
| 114 | if (flags = xhtml.elements['flags']) && page | 114 | if (flags = xhtml.elements['flags']) && page |
| 115 | page.tag_list.add("event") if flags.attributes['calendar'] | 115 | page.tag_list.add("event") if flags.attributes['calendar'] |
| 116 | page.tag_list.add("pressemitteilung") if flags.attributes['pm'] | 116 | page.tag_list.add("pressemitteilung") if flags.attributes['pm'] |
| 117 | page.save! | ||
| 118 | end | 117 | end |
| 119 | 118 | ||
| 119 | page.save! | ||
| 120 | |||
| 120 | if node.head.nil? && page | 121 | if node.head.nil? && page |
| 121 | node.head = page | 122 | node.head = page |
| 122 | node.save! | 123 | node.save! |
