Pass correct number of args to ftp_chdir(). Props Denis-de-Bernardy. see #10889

git-svn-id: https://develop.svn.wordpress.org/trunk@12369 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2009-12-10 23:03:25 +00:00
parent 545994d1f7
commit 8da73e044d

View File

@ -134,7 +134,7 @@ class WP_Filesystem_FTPext extends WP_Filesystem_Base {
return $cwd;
}
function chdir($dir) {
return @ftp_chdir($dir);
return @ftp_chdir($this->link, $dir);
}
function chgrp($file, $group, $recursive = false ) {
return false;