diff --git a/contrib/IXR/IXR_Library.php b/contrib/IXR/IXR_Library.php index f71a486cb..1a6e3ebe3 100644 --- a/contrib/IXR/IXR_Library.php +++ b/contrib/IXR/IXR_Library.php @@ -417,7 +417,7 @@ EOD; $method = $this->callbacks[$methodname]; // Perform the callback and send the response - if (count($args) == 1) { + if (is_array($args) && count($args) == 1) { // If only one paramater just send that instead of the whole array $args = $args[0]; }