X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/f03c8637f7377f34d31f4b0bd88caa4a9e7a9570..ca30b879f6eba3f513bcfa53545dba43d09b2023:/app/controllers/notes_controller.rb diff --git a/app/controllers/notes_controller.rb b/app/controllers/notes_controller.rb index 3eb1ac3f9..cab04a0b9 100644 --- a/app/controllers/notes_controller.rb +++ b/app/controllers/notes_controller.rb @@ -347,7 +347,7 @@ private attributes[:author_ip] = request.remote_ip end - comment = note.comments.create(attributes, :without_protection => true) + comment = note.comments.create(attributes) note.comments.map { |c| c.author }.uniq.each do |user| if notify and user and user != @user