From: Tom Hughes Date: Sun, 8 Mar 2009 12:44:45 +0000 (+0000) Subject: Fix for libxml 1.0.0 changes. X-Git-Tag: live~7643 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/fa3c97d6a69ae9937a49eb38fce434e122a6678c Fix for libxml 1.0.0 changes. --- diff --git a/app/controllers/user_preference_controller.rb b/app/controllers/user_preference_controller.rb index 559479929..3a48ee65e 100644 --- a/app/controllers/user_preference_controller.rb +++ b/app/controllers/user_preference_controller.rb @@ -53,8 +53,7 @@ class UserPreferenceController < ApplicationController # update the entire set of preferences def update begin - p = XML::Parser.new - p.string = request.raw_post + p = XML::Parser.string(request.raw_post) doc = p.parse prefs = []