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

git-svn-id: http://svn.automattic.com/wordpress/trunk@12369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2009-12-10 23:03:25 +00:00
parent fba269f7f4
commit e2c408bfbe
1 changed files with 1 additions and 1 deletions

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;