diff options
author | Eric Roberts <eric@cryode.com> | 2013-01-17 04:32:51 +0100 |
---|---|---|
committer | Eric Roberts <eric@cryode.com> | 2013-01-17 04:32:51 +0100 |
commit | bd6faca03fc7934a0ad1cff8584bfb49d2a43d49 (patch) | |
tree | 51e68684755b42a32e5a709479835be0fb891f9c /system/libraries/Ftp.php | |
parent | 7a4fb63a43392fc1cf5a5ead32ad81451c53dc67 (diff) | |
parent | b26bb6ef76eb2f8327dafe085ae6bca14c22160b (diff) |
Merge branch 'develop' of https://github.com/EllisLab/CodeIgniter into feature/output-cache-improvements
Diffstat (limited to 'system/libraries/Ftp.php')
-rw-r--r-- | system/libraries/Ftp.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/libraries/Ftp.php b/system/libraries/Ftp.php index b8729a9c7..dc6bbd226 100644 --- a/system/libraries/Ftp.php +++ b/system/libraries/Ftp.php @@ -266,7 +266,7 @@ class CI_FTP { } // Set file permissions if needed - if ( ! is_null($permissions)) + if ($permissions !== NULL) { $this->chmod($path, (int) $permissions); } @@ -320,7 +320,7 @@ class CI_FTP { } // Set file permissions if needed - if ( ! is_null($permissions)) + if ($permissions !== NULL) { $this->chmod($rempath, (int) $permissions); } |