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

Deal with empty urls

Oliver Günther7b64db326860
diff --git a/lib/open_project/static/links.rb b/lib/open_project/static/links.rb
index 8c4e7cdf9c6..66c91cde791 100644
--- a/lib/open_project/static/links.rb
+++ b/lib/open_project/static/links.rb
@@ -61,7 +61,7 @@ module OpenProject
end
def docs_url?(url)
- url.start_with?(docs_url)
+ url&.start_with?(docs_url)
end
def docs_url