From a8c546f5bc086c9e66a67c62f44243216cfbc0a5 Mon Sep 17 00:00:00 2001 From: Nathan Gass Date: Fri, 29 Oct 2021 14:35:36 +0200 Subject: Revert "allow combining postprocess with assoc" This reverts commit 44a9d8898fe478b621e991db66700d70d45fd633. --- it_url.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/it_url.class b/it_url.class index c7369f2..f37bf97 100644 --- a/it_url.class +++ b/it_url.class @@ -150,7 +150,7 @@ function _get($p = [], $timeout = null) usleep($p['fetchsleep'] * 1000000); if ($p['assoc']) - $result = $result !== false ? [ 'status' => $this->result, 'data' => $result, 'headers' => $this->headers, 'cookies' => $this->cookies, 'errstr' => $this->errstr ] : []; + $result = $result !== false ? [ 'status' => $this->result, 'data' => $this->data, 'headers' => $this->headers, 'cookies' => $this->cookies, 'errstr' => $this->errstr ] : []; return $result; } -- cgit v1.2.3