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/libraries/Ftp.php') 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 From 0fbd57882eeb1c682cb400b3b0d0224e3240920c Mon Sep 17 00:00:00 2001 From: Andrey Andreev Date: Wed, 2 Mar 2022 23:11:22 +0200 Subject: [ci skip] Update copyright notices --- system/libraries/Ftp.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'system/libraries/Ftp.php') diff --git a/system/libraries/Ftp.php b/system/libraries/Ftp.php index a406f819e..15a0887b7 100644 --- a/system/libraries/Ftp.php +++ b/system/libraries/Ftp.php @@ -6,7 +6,7 @@ * * This content is released under the MIT License (MIT) * - * Copyright (c) 2014 - 2019, British Columbia Institute of Technology + * Copyright (c) 2019 - 2022, CodeIgniter Foundation * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -30,6 +30,7 @@ * @author EllisLab Dev Team * @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/) * @copyright Copyright (c) 2014 - 2019, British Columbia Institute of Technology (https://bcit.ca/) + * @copyright Copyright (c) 2019 - 2022, CodeIgniter Foundation (https://codeigniter.com/) * @license https://opensource.org/licenses/MIT MIT License * @link https://codeigniter.com * @since Version 1.0.0 -- cgit v1.2.3-24-g4f1b