diff --git a/lib/redmine_dmsf.rb b/lib/redmine_dmsf.rb index a82f0fef..6c9250fa 100644 --- a/lib/redmine_dmsf.rb +++ b/lib/redmine_dmsf.rb @@ -41,7 +41,8 @@ require File.dirname(__FILE__) + '/redmine_dmsf/patches/queries_controller_patch # redmine_resources depends on redmine_contact and redmine_contacts is alphabetically sorted before redmine_dmsf # in the plugin list. -if Redmine::Plugin.installed?(:redmine_contacts) && !Redmine::Plugin.installed?(:easy_extensions) +if (Redmine::Plugin.installed?(:redmine_contacts) || Redmine::Plugin.installed?(:redmine_questions)) && + !Redmine::Plugin.installed?(:easy_extensions) require File.dirname(__FILE__) + '/redmine_dmsf/patches/notifiable_ru_patch' else require File.dirname(__FILE__) + '/redmine_dmsf/patches/notifiable_patch'