Force some types to be strings in the XML-RPC outputs.

        Patch by afuna. 

diffs (15 lines):

diff -r 9e56f58fbc0e -r 82a4778c9ca3 cgi-bin/Apache/LiveJournal.pm
--- a/cgi-bin/Apache/LiveJournal.pm     Tue Nov 10 03:07:27 2009 +0000
+++ b/cgi-bin/Apache/LiveJournal.pm     Tue Nov 10 03:10:06 2009 +0000
@@ -1807,6 +1807,11 @@ sub xmlrpc_method {
     # Key - field name, value - type.
     my %lj_types_map = (
         journalname => 'string',
+        fullname => 'string',
+        username => 'string',
+        poster => 'string',
+        postername => 'string',
+        name => 'string',
     );
 
     my $recursive_mark_elements;
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to