Make WordPress Core

Changeset 4412


Ignore:
Timestamp:
10/21/2006 10:42:42 AM (17 years ago)
Author:
markjaquith
Message:

Cast to array in xmlrpc.php. fixes #3266

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xmlrpc.php

    r4305 r4412  
    135135        global $wpdb;
    136136
    137         foreach ($array as $k => $v) {
     137        foreach ( (array) $array as $k => $v ) {
    138138            if (is_array($v)) {
    139139                $this->escape($array[$k]);
Note: See TracChangeset for help on using the changeset viewer.