From e5c6080bfd34b425a5aca7bf0dd9a272bf8ab74d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Pi=C4=8Dman?= Date: Tue, 7 Jun 2022 15:05:12 +0200 Subject: [PATCH] Error while loading /settings #1364 --- lib/redmine_dmsf.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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'