Make WordPress Core


Ignore:
Timestamp:
07/25/2010 07:34:49 AM (14 years ago)
Author:
nacin
Message:

More curses on PHP 5.0.5. see #13757, fixes #14160. for 3.0.1.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/wp-includes/wp-db.php

    r15266 r15470  
    14031403            // (Duplicates are discarded)
    14041404            foreach ( $this->last_result as $row ) {
    1405                 $key = array_shift( get_object_vars( $row ) );
     1405                $key = array_shift( $var_by_ref = get_object_vars( $row ) );
    14061406                if ( ! isset( $new_array[ $key ] ) )
    14071407                    $new_array[ $key ] = $row;
Note: See TracChangeset for help on using the changeset viewer.