Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

$arg was undefined, added it as optional param

  • Loading branch information...
commit 1bb897fc0e20de43122a468d1dae85ad2ad33c37 1 parent 7cd6df8
James Michael DuPont authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  wp-admin/includes/class-ftp.php
View
2  wp-admin/includes/class-ftp.php
@@ -504,7 +504,7 @@ function rawlist($pathname="", $arg="") {
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");
}
Please sign in to comment.
Something went wrong with that request. Please try again.