Browse Source

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

Jon Wenmoth 12 năm trước cách đây
mục cha
commit
a88fe560cf
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;
 			}