summaryrefslogtreecommitdiffstats
path: root/system/libraries
diff options
context:
space:
mode:
authorPhilippe Meunier <pmeunier@cyberimpact.com>2022-02-17 20:06:06 +0100
committerPhilippe Meunier <pmeunier@cyberimpact.com>2022-02-17 20:06:06 +0100
commit1af4c2b7485eb8bc233a84825beb9a75183bdd24 (patch)
treeb9652808b2008dec5aa7389521a81f3da1dc7822 /system/libraries
parent852c14bbca1277583c23a1977ddfc348af4d395a (diff)
Fix method _is_conn() in Ftp library, was returning incorrect result for valid connection making it impossible to use FTP
Diffstat (limited to 'system/libraries')
-rw-r--r--system/libraries/Ftp.php2
1 files changed, 1 insertions, 1 deletions
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)
{