XML-RPC Empty Return Structs - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: XML-RPC Empty Return Structs (/showthread.php?tid=8728) |
XML-RPC Empty Return Structs - El Forum - 05-29-2008 [eluser]Elliot Haughin[/eluser] Under 1.6.2, when using the XML-RPC Client library, an error occurs when handling 'empty' struct's. libraries/Xmlrpc.php Line 1326: Code: switch($this->xmlrpcTypes[$typ]) Produces: Quote:A PHP Error was encountered The library doesn't take into account that the struct could be empty... should be: Code: switch($this->xmlrpcTypes[$typ]) Maybe this isn't a bug... but just thought you might want to check it out. |