From dae58e093700b3afaa3e09ccbe1f52a329316303 Mon Sep 17 00:00:00 2001 From: "Justin Clark-Casey (justincc)" Date: Wed, 7 Dec 2011 22:42:05 +0000 Subject: [PATCH] Remove warning in admin_save_oar xmlrpc method where noassets == true was comparing against an object rather than a string --- .../ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs index 8a1718f6d2..64b2a524ef 100644 --- a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs +++ b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs @@ -1464,7 +1464,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController options["profile"] = (string)requestData["profile"]; } - if (requestData["noassets"] == "true") + if (requestData["noassets"].ToString() == "true") { options["noassets"] = (string)requestData["noassets"] ; }