Fix for libxml 1.0.0 changes.
This commit is contained in:
parent
07c1cd6b98
commit
fa3c97d6a6
1 changed files with 1 additions and 2 deletions
|
@ -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 = []
|
||||
|
|
Loading…
Add table
Reference in a new issue