Fix last commit 4.2.1
authorgggeek <giunta.gaetano@gmail.com>
Sun, 3 Sep 2017 19:15:39 +0000 (20:15 +0100)
committergggeek <giunta.gaetano@gmail.com>
Sun, 3 Sep 2017 19:15:39 +0000 (20:15 +0100)
lib/xmlrpc.inc

index 74ff080..335cedf 100644 (file)
@@ -122,7 +122,7 @@ class xmlrpcval extends PhpXmlRpc\Value
         // add support for structures directly encoding php objects
         if (is_object($b)) {
             $t = get_object_vars($b);
-            foreach($t as $id => $cont) { {
+            foreach($t as $id => $cont) {
                 $t[$id] = $cont->scalarval();
             }
             foreach($t as $id => $cont) {