aboutsummaryrefslogtreecommitdiffstats
path: root/lib/xmlrpc/create.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/xmlrpc/create.rb')
-rw-r--r--lib/xmlrpc/create.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/xmlrpc/create.rb b/lib/xmlrpc/create.rb
index 9150e2f56f..9a3df0d832 100644
--- a/lib/xmlrpc/create.rb
+++ b/lib/xmlrpc/create.rb
@@ -194,12 +194,12 @@ module XMLRPC
when TrueClass, FalseClass
@writer.tag("boolean", param ? "1" : "0")
- when String
- @writer.tag("string", param)
-
when Symbol
@writer.tag("string", param.to_s)
+ when String
+ @writer.tag("string", param)
+
when NilClass
if Config::ENABLE_NIL_CREATE
@writer.ele("nil")