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 typo in comments

Kabiru Mwenja53ced0de5d60
diff --git a/app/services/journals/create_service.rb b/app/services/journals/create_service.rb
index 50b395e8021..5528533287e 100644
--- a/app/services/journals/create_service.rb
+++ b/app/services/journals/create_service.rb
@@ -67,8 +67,8 @@ module Journals
# * The journalizing happens within the configured aggregation time
# * The journalizing is carried out by the same user
# * The cause is identical
- # * ONLY the predecessor or the journal to be created has notes
- # * The predecessor and the journal to be created have the restriction
+ # * ONLY one note exists between the predecessor and the journal to be created
+ # * The predecessor and the journal to be created have the same restriction
#
# Instead of removing the predecessor, return it here so that it can be stripped in the journal creating
# SQL to than be refilled. That way, references to the journal, including ones users have, are kept intact.