Skip to content

Commit 1f9502c

Browse files
committed
Fix curl_close
1 parent 132e874 commit 1f9502c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

system/libraries/Request.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -704,7 +704,7 @@ public function reset()
704704
*/
705705
public function close()
706706
{
707-
if (is_resource($this->curl)) {
707+
if (is_resource($this->curl) && PHP_VERSION_ID < 80000) {
708708
curl_close($this->curl);
709709
}
710710

0 commit comments

Comments
 (0)