From 1af4c2b7485eb8bc233a84825beb9a75183bdd24 Mon Sep 17 00:00:00 2001 From: Philippe Meunier Date: Thu, 17 Feb 2022 14:06:06 -0500 Subject: Fix method _is_conn() in Ftp library, was returning incorrect result for valid connection making it impossible to use FTP --- system/libraries/Ftp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system') diff --git a/system/libraries/Ftp.php b/system/libraries/Ftp.php index 92644153a..a406f819e 100644 --- a/system/libraries/Ftp.php +++ b/system/libraries/Ftp.php @@ -202,7 +202,7 @@ class CI_FTP { */ protected function _is_conn() { - if ($this->conn_id !== FALSE) + if ($this->conn_id === FALSE) { if ($this->debug === TRUE) { -- cgit v1.2.3-24-g4f1b