From 14f5c0289c16452a40cb3c9739b33d04f49811a1 Mon Sep 17 00:00:00 2001 From: rob1n Date: Tue, 29 May 2007 02:50:37 +0000 Subject: [PATCH] Apply [5570] to 2.2. fixes #4357 git-svn-id: http://svn.automattic.com/wordpress/branches/2.2@5584 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- xmlrpc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmlrpc.php b/xmlrpc.php index 8c14a3b0a2..bf14f2095a 100644 --- a/xmlrpc.php +++ b/xmlrpc.php @@ -538,7 +538,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);