summaryrefslogtreecommitdiffstats
path: root/lib/redmine/field_format.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-11-18 12:06:19 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-11-18 12:06:19 +0000
commit9acc16d68d163fb88c47591403d68a30289dda8f (patch)
tree2dceeceae0245863da4eaeafb4be8e76a14bb40e /lib/redmine/field_format.rb
parent298c8a9f0a62d6ff8d6dd54a423a6640cdc2baf6 (diff)
downloadredmine-9acc16d68d163fb88c47591403d68a30289dda8f.tar.gz
redmine-9acc16d68d163fb88c47591403d68a30289dda8f.zip
Removed left-over code comment.
git-svn-id: http://svn.redmine.org/redmine/trunk@15961 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine/field_format.rb')
-rw-r--r--lib/redmine/field_format.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/field_format.rb b/lib/redmine/field_format.rb
index fd90b8097..4e31b1330 100644
--- a/lib/redmine/field_format.rb
+++ b/lib/redmine/field_format.rb
@@ -960,7 +960,7 @@ module Redmine
def edit_tag(view, tag_id, tag_name, custom_value, options={})
attachment = nil
- if custom_value.value.present? #&& custom_value.value == custom_value.value_was
+ if custom_value.value.present?
attachment = Attachment.find_by_id(custom_value.value)
end