Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

fix: if there isn't a section header, don't print one into PDF

as-op53ab546086d4
diff --git a/modules/meeting/app/workers/meetings/pdf/agenda.rb b/modules/meeting/app/workers/meetings/pdf/agenda.rb
index a4eaac8f131..923fa8f4e9e 100644
--- a/modules/meeting/app/workers/meetings/pdf/agenda.rb
+++ b/modules/meeting/app/workers/meetings/pdf/agenda.rb
@@ -53,7 +53,7 @@ module Meetings::PDF
def write_section(section, section_index)
write_optional_page_break
- write_section_title(section, section_index)
+ write_section_title(section, section_index) unless section.title.empty?
write_agenda_items(section)
end