summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2021-10-28 15:34:18 +0200
committerUrban Müller2021-10-28 15:34:18 +0200
commit44a9d8898fe478b621e991db66700d70d45fd633 (patch)
treee44377a553580037c5915e06d1c29a3f9a844a4f
parent30b098f5b0a80621d99b802f5e9ff20c7f656892 (diff)
downloaditools-44a9d8898fe478b621e991db66700d70d45fd633.tar.gz
itools-44a9d8898fe478b621e991db66700d70d45fd633.tar.bz2
itools-44a9d8898fe478b621e991db66700d70d45fd633.zip
allow combining postprocess with assoc
-rw-r--r--it_url.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_url.class b/it_url.class
index f37bf97..c7369f2 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' => $this->data, 'headers' => $this->headers, 'cookies' => $this->cookies, 'errstr' => $this->errstr ] : [];
+ $result = $result !== false ? [ 'status' => $this->result, 'data' => $result, 'headers' => $this->headers, 'cookies' => $this->cookies, 'errstr' => $this->errstr ] : [];
return $result;
}