Permalink
Browse files

$arg was undefined, added it as optional param

  • Loading branch information...
1 parent 7cd6df8 commit 1bb897fc0e20de43122a468d1dae85ad2ad33c37 James Michael DuPont committed Sep 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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");
}

0 comments on commit 1bb897f

Please sign in to comment.