Avoid a PHP Notice in the PemFTP Library by adding a missing function parameter. This parameter is unused by WordPress.

Props hugodelgado. Fixes #29628


git-svn-id: https://develop.svn.wordpress.org/trunk@29969 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dion Hulse 2014-10-20 07:40:41 +00:00
parent 5bcbdefd2e
commit 98c438048d
1 changed files with 1 additions and 1 deletions

View File

@ -504,7 +504,7 @@ class ftp_base {
return $this->_list(($arg?" ".$arg:"").($pathname?" ".$pathname:""), "LIST", "rawlist");
}
function nlist($pathname="") {
function nlist($pathname="", $arg="") {
return $this->_list(($arg?" ".$arg:"").($pathname?" ".$pathname:""), "NLST", "nlist");
}