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

correctly set initial notification value on work package copying

ulferts3ccfb86dfe3d
diff --git a/app/services/work_packages/copy_service.rb b/app/services/work_packages/copy_service.rb
index 9ee98e96ee0..4f81a0213c2 100644
--- a/app/services/work_packages/copy_service.rb
+++ b/app/services/work_packages/copy_service.rb
@@ -43,7 +43,7 @@ class WorkPackages::CopyService
end
def call(send_notifications: true, **attributes)
- in_context(work_package) do
+ in_context(work_package, send_notifications) do
copy(attributes, send_notifications)
end
end