X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/67017dbca48198e413bd9bb09d70c58f4d837a6a..6f88f4d03fbe43b7005921192589966dd589affe:/app/controllers/note_controller.rb diff --git a/app/controllers/note_controller.rb b/app/controllers/note_controller.rb index 4c0c98b63..4c6ede6be 100644 --- a/app/controllers/note_controller.rb +++ b/app/controllers/note_controller.rb @@ -344,7 +344,7 @@ private attributes[:author_name] = name + " (a)" end - note.comments.create(attributes) + note.comments.create(attributes, :without_protection => true) note.comments.map { |c| c.author }.uniq.each do |user| if user and user != @user