From c7bf8487eafdaeeb137401eb6f63022ec8798f31 Mon Sep 17 00:00:00 2001 From: Andrey Andreev Date: Mon, 21 Feb 2022 22:37:45 +0200 Subject: [ci skip] Merge pull request #6102 from maxiwheat/develop Fix method _is_conn() in Ftp library --- 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