From fa3c97d6a69ae9937a49eb38fce434e122a6678c Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sun, 8 Mar 2009 12:44:45 +0000 Subject: [PATCH] Fix for libxml 1.0.0 changes. --- app/controllers/user_preference_controller.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 = [] -- 2.43.2