From 464c490cae90a5b8ad78c9d234c282c52314a1db Mon Sep 17 00:00:00 2001 From: Thomas Wood Date: Thu, 9 Apr 2009 23:18:21 +0000 Subject: [PATCH 1/1] Use the right keyword this time... --- app/controllers/user_preference_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/user_preference_controller.rb b/app/controllers/user_preference_controller.rb index b07f4ecc5..59573047a 100644 --- a/app/controllers/user_preference_controller.rb +++ b/app/controllers/user_preference_controller.rb @@ -52,7 +52,7 @@ class UserPreferenceController < ApplicationController # update the entire set of preferences def update - do + begin p = XML::Parser.string(request.raw_post) rescue LibXML::XML::Error, ArgumentError => ex raise OSM::APIBadXMLError.new("preferences", xml, ex.message) -- 2.43.2