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

call protected method if defined

Markus Kahl80bb46d47bfe
diff --git a/app/models/queries/filters/serializable.rb b/app/models/queries/filters/serializable.rb
index 29814b3242d..0f7a6bf61e6 100644
--- a/app/models/queries/filters/serializable.rb
+++ b/app/models/queries/filters/serializable.rb
@@ -57,7 +57,7 @@ module Queries
end
def ==(other)
- other.attributes_hash == attributes_hash
+ other.try(:attributes_hash) == attributes_hash
end
protected