cannot create new projects if plugin is installed #559
This commit is contained in:
parent
56005e9922
commit
0a417a2709
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user