summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-01-06 12:55:38 +0100
committerAndrey Andreev <narf@devilix.net>2014-01-06 12:55:38 +0100
commit45549a2919892e31782fc4381d7db8c6f3293bcb (patch)
tree8e3bc6b9c5a84653ed629ac05d62df35b561dd34 /system
parent1720a6aee782b1193454e2ec172f3e89461f83f4 (diff)
Remove a redudant value check
Diffstat (limited to 'system')
-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 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;
}