Cast to array in xmlrpc.php. fixes #3266

git-svn-id: http://svn.automattic.com/wordpress/trunk@4412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith 2006-10-21 10:42:42 +00:00
parent e7b9e6ac2d
commit fa91c7b642
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ class wp_xmlrpc_server extends IXR_Server {
function escape(&$array) {
global $wpdb;
foreach ($array as $k => $v) {
foreach ( (array) $array as $k => $v ) {
if (is_array($v)) {
$this->escape($array[$k]);
} else if (is_object($v)) {