Browse Source

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

Jon Wenmoth 12 years ago
parent
commit
a88fe560cf
1 changed files with 1 additions and 1 deletions
  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;
 			}