1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-19 15:01:14 +00:00

Fixed that QueriesController can not handle subclass of IssueQuery (#25265).

git-svn-id: http://svn.redmine.org/redmine/trunk@18754 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2019-10-19 10:13:12 +00:00
parent e66cce5d5d
commit ce867955f0

View File

@ -31,7 +31,7 @@ module Redmine
rescue rescue
# invalid class name # invalid class name
end end
unless subclasses.include? klass unless descendants.include? klass
klass = nil klass = nil
end end
klass klass