Index: includes/xmlrpcs.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/xmlrpcs.inc,v retrieving revision 1.21 diff -u -r1.21 xmlrpcs.inc --- includes/xmlrpcs.inc 5 Jul 2006 11:45:51 -0000 1.21 +++ includes/xmlrpcs.inc 2 May 2008 23:45:30 -0000 @@ -159,11 +159,14 @@ $ok = TRUE; $return_type = array_shift($signature); // Check the number of arguments - if (count($args) != count($signature)) { + if (count($args) > count($signature)) { return xmlrpc_error(-32602, t('Server error. Wrong number of method parameters.')); } // Check the argument types foreach ($signature as $key => $type) { + if (!isset($args[$key])) { + continue; + } $arg = $args[$key]; switch ($type) { case 'int':