Explorar o código

Fixing issue where data flattening in request was calling the wrong method. This was causing POST's tp fail.

Jon Wenmoth %!s(int64=12) %!d(string=hai) anos
pai
achega
a88fe560cf
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/JonnyW/PhantomJs/Message/Request.php

+ 1 - 1
src/JonnyW/PhantomJs/Message/Request.php

@@ -203,7 +203,7 @@ class Request implements RequestInterface
 
 			if(is_array($value)) {
 
-				$flat += $this->flattenArray($value, $ref, '[%s]');
+				$flat += $this->flattenData($value, $ref, '[%s]');
 				continue;
 			}