- fix issue 2814470: Fix for signature-check mismatch in new-style servers
authorggiunta <ggiunta@013ecfd8-0664-425d-a759-9c98391dc3f9>
Thu, 2 Jul 2009 09:54:24 +0000 (09:54 +0000)
committerggiunta <ggiunta@013ecfd8-0664-425d-a759-9c98391dc3f9>
Thu, 2 Jul 2009 09:54:24 +0000 (09:54 +0000)
git-svn-id: https://svn.code.sf.net/p/phpxmlrpc/code/trunk/xmlrpc@22 013ecfd8-0664-425d-a759-9c98391dc3f9

ChangeLog
lib/xmlrpcs.inc

index a30eddb..da7d5f5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-07-02 - G. Giunta (giunta.gaetano@gmail.com) thanks Heiko Stuebner\r
+\r
+       * xmlrpc.inc: fix: when checking the parameters against the signatures xmlrpc\r
+       checks for "array" but PHP returns "Array" resulting in a not matches signature\r
+\r
 2009-05-07 - G. Giunta (giunta.gaetano@gmail.com)\r
 \r
        * replace all usage of '= & new' with '= new', as this is deprecated in php 5\r
index 8111e1c..9e504b8 100644 (file)
                                                }\r
                                                else\r
                                                {\r
-                                                       $pt= $in[$n] == 'i4' ? 'int' : $in[$n]; // dispatch maps never use i4...\r
+                                                       $pt= $in[$n] == 'i4' ? 'int' : strtolower($in[$n]); // dispatch maps never use i4...\r
                                                }\r
 \r
                                                // param index is $n+1, as first member of sig is return type\r