mirror of
https://github.com/redmine/redmine.git
synced 2026-02-10 16:47:42 +01: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:
@@ -31,7 +31,7 @@ module Redmine
|
||||
rescue
|
||||
# invalid class name
|
||||
end
|
||||
unless subclasses.include? klass
|
||||
unless descendants.include? klass
|
||||
klass = nil
|
||||
end
|
||||
klass
|
||||
|
||||
Reference in New Issue
Block a user