summaryrefslogtreecommitdiffstats
path: root/lib/plugins
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2020-02-11 04:56:03 +0000
committerGo MAEDA <maeda@farend.jp>2020-02-11 04:56:03 +0000
commit39c979b3419c02967b6f68f9d99198fb64d9e30e (patch)
tree00226b2f6ef790d56b0c341cbd64e4c209ddd13d /lib/plugins
parent89c4e1680766e1e5a3a11a857f17852cab3c2437 (diff)
downloadredmine-39c979b3419c02967b6f68f9d99198fb64d9e30e.tar.gz
redmine-39c979b3419c02967b6f68f9d99198fb64d9e30e.zip
Reverts r19510 that breaks IssueTest#test_closed_on_should_be_set_when_closing_an_open_issue (#5354).
git-svn-id: http://svn.redmine.org/redmine/trunk@19511 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/plugins')
-rw-r--r--lib/plugins/acts_as_customizable/lib/acts_as_customizable.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/plugins/acts_as_customizable/lib/acts_as_customizable.rb b/lib/plugins/acts_as_customizable/lib/acts_as_customizable.rb
index 3703a5e65..96fdbf8b6 100644
--- a/lib/plugins/acts_as_customizable/lib/acts_as_customizable.rb
+++ b/lib/plugins/acts_as_customizable/lib/acts_as_customizable.rb
@@ -145,9 +145,7 @@ module Redmine
end
end
self.custom_values = target_custom_values
- custom_values_changed = custom_values.any?(&:changed?)
custom_values.each(&:save)
- touch if persisted? && custom_values_changed
@custom_field_values_changed = false
true
end