diff options
author | Andrey Andreev <narf@devilix.net> | 2014-01-06 12:55:38 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2014-01-06 12:55:38 +0100 |
commit | 45549a2919892e31782fc4381d7db8c6f3293bcb (patch) | |
tree | 8e3bc6b9c5a84653ed629ac05d62df35b561dd34 | |
parent | 1720a6aee782b1193454e2ec172f3e89461f83f4 (diff) |
Remove a redudant value check
-rw-r--r-- | system/libraries/Ftp.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Ftp.php b/system/libraries/Ftp.php index 4be2d0a21..73a68441a 100644 --- a/system/libraries/Ftp.php +++ b/system/libraries/Ftp.php @@ -219,7 +219,7 @@ class CI_FTP { */ public function changedir($path, $suppress_debug = FALSE) { - if ($path === '' OR ! $this->_is_conn()) + if ( ! $this->_is_conn()) { return FALSE; } |