We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b69b9d8 commit d81590aCopy full SHA for d81590a
libraries/Curl.php
@@ -318,9 +318,9 @@ public function execute()
318
else
319
{
320
curl_close($this->session);
321
- $response = $this->response;
+ $this->last_response = $this->response;
322
$this->set_defaults();
323
- return $response;
+ return $this->last_response;
324
}
325
326
@@ -335,7 +335,7 @@ public function debug()
335
echo "<h2>CURL Test</h2>\n";
336
echo "=============================================<br/>\n";
337
echo "<h3>Response</h3>\n";
338
- echo "<code>" . nl2br(htmlentities($this->response)) . "</code><br/>\n\n";
+ echo "<code>" . nl2br(htmlentities($this->last_response)) . "</code><br/>\n\n";
339
340
if ($this->error_string)
341
0 commit comments