Index: wp-includes/class-IXR.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-includes/class-IXR.php,v
retrieving revision 1.3
diff -u -r1.3 class-IXR.php
--- wp-includes/class-IXR.php	16 Sep 2004 17:07:59 -0000	1.3
+++ wp-includes/class-IXR.php	17 Jan 2005 20:11:29 -0000
@@ -344,11 +344,15 @@
             $result = $this->$method($args);
         } else {
             // It's a function - does it exist?
-            if (!function_exists($method)) {
+            if (is_array($method)) {
+            	if (!method_exists($method[0], $method[1])) {
+                return new IXR_Error(-32601, 'server error. requested object method "'.$method[1].'" does not exist.');
+            	}
+            } else if (!function_exists($method)) {
                 return new IXR_Error(-32601, 'server error. requested function "'.$method.'" does not exist.');
             }
             // Call the function
-            $result = $method($args);
+            $result = call_user_func($method, $args);
         }
         return $result;
     }

