Refactor the Wrapper class to generate closures by default and avoid usage of 'eval'
[plcapi.git] / src / Encoder.php
index e19dada..21be70f 100644 (file)
@@ -105,7 +105,7 @@ class Encoder
                 $paramCount = $xmlrpcVal->getNumParams();
                 $arr = array();
                 for ($i = 0; $i < $paramCount; $i++) {
-                    $arr[] = $this->decode($xmlrpcVal->getParam($i));
+                    $arr[] = $this->decode($xmlrpcVal->getParam($i), $options);
                 }
 
                 return $arr;