From 0a52564fc266c8f48f80f8dd8c14e835cb05eb32 Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Mon, 28 May 2007 05:12:56 +0000 Subject: [PATCH] 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 --- xmlrpc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmlrpc.php b/xmlrpc.php index 6149cf20f7..7c14289f33 100644 --- a/xmlrpc.php +++ b/xmlrpc.php @@ -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);