summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Gass2021-10-29 14:35:36 +0200
committerNathan Gass2021-10-29 14:35:36 +0200
commita8c546f5bc086c9e66a67c62f44243216cfbc0a5 (patch)
tree87ab8807316045f9138dcd1b024ed0c84ad7db6d
parent44a9d8898fe478b621e991db66700d70d45fd633 (diff)
downloaditools-a8c546f5bc086c9e66a67c62f44243216cfbc0a5.tar.gz
itools-a8c546f5bc086c9e66a67c62f44243216cfbc0a5.tar.bz2
itools-a8c546f5bc086c9e66a67c62f44243216cfbc0a5.zip
Revert "allow combining postprocess with assoc"
This reverts commit 44a9d8898fe478b621e991db66700d70d45fd633.
-rw-r--r--it_url.class2
1 files changed, 1 insertions, 1 deletions
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;
}