Fix for libxml 1.0.0 changes.

This commit is contained in:
Tom Hughes 2009-03-08 12:44:45 +00:00
parent 07c1cd6b98
commit fa3c97d6a6

View file

@ -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 = []