X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e5c80c80ade40c3360f49eb70a9db8464ffa9169..3d55db46ed24d563d82cf42f91fd064e40447c4d:/app/controllers/changeset_controller.rb diff --git a/app/controllers/changeset_controller.rb b/app/controllers/changeset_controller.rb index 45b5f80f9..b580ea786 100644 --- a/app/controllers/changeset_controller.rb +++ b/app/controllers/changeset_controller.rb @@ -16,8 +16,6 @@ class ChangesetController < ApplicationController around_filter :api_call_handle_error, :except => [:list] around_filter :web_timeout, :only => [:list] - filter_parameter_logging " - ['id = ? and version = ?', - elt.id, elt.version]) + prev_elt = elt.class.where(:id => elt.id, :version => elt.version).first unless elt.visible # if the element isn't visible then it must have been deleted, so # output the *previous* XML