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

git-svn-id: https://develop.svn.wordpress.org/trunk@5570 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith 2007-05-28 05:12:56 +00:00
parent 4308eff227
commit 0a52564fc2
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);