WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/25/2010 07:35:59 AM (10 years ago)
Author:
nacin
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/wp-db.php

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