diff --git a/app/controllers/dmsf_upload_controller.rb b/app/controllers/dmsf_upload_controller.rb index e71fe827..1109e28e 100644 --- a/app/controllers/dmsf_upload_controller.rb +++ b/app/controllers/dmsf_upload_controller.rb @@ -95,7 +95,7 @@ class DmsfUploadController < ApplicationController file.project = @project file.name = name file.folder = @folder - file.notification = !Setting.plugin_redmine_dmsf['dmsf_default_notifications'].blank? + file.notification = Setting.plugin_redmine_dmsf['dmsf_default_notifications'].present? new_revision.minor_version = 0 new_revision.major_version = 0