cannot create new projects if plugin is installed #559

This commit is contained in:
Karel Picman 2016-08-15 15:33:57 +02:00
parent 56005e9922
commit 0a417a2709

View File

@ -55,7 +55,9 @@ module RedmineDmsf
def set_default_dmsf_notification
if self.new_record?
self.dmsf_notification = Setting.plugin_redmine_dmsf['dmsf_default_notifications'] == '1'
if !self.dmsf_notification && (Setting.plugin_redmine_dmsf['dmsf_default_notifications'] == '1')
self.dmsf_notification = true
end
end
end