Int cast. Props to Alexander Concha for the find, Joseph Scott for the patch.

git-svn-id: http://svn.automattic.com/wordpress/trunk@5570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith 2007-05-28 05:12:56 +00:00
parent 6a41f63aae
commit 070d2fd62b
1 changed files with 1 additions and 1 deletions

View File

@ -534,7 +534,7 @@ class wp_xmlrpc_server extends IXR_Server {
$username = $args[1];
$password = $args[2];
$category = $args[3];
$max_results = $args[4];
$max_results = (int) $args[4];
if(!$this->login_pass_ok($username, $password)) {
return($this->error);