Make WordPress Core

Changeset 12668


Ignore:
Timestamp:
01/08/2010 08:07:40 PM (14 years ago)
Author:
ryan
Message:

Use correct var name. see #11644

File:
1 edited

Legend:

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

    r12667 r12668  
    667667                // If there is an error then take note of it
    668668                if( is_multisite() ) {
    669                         $msg = "WordPress database error: [$str]\n{$this->query}\n";
     669                        $msg = "WordPress database error: [$str]\n{$this->last_query}\n";
    670670                        if( defined( 'ERRORLOGFILE' ) )
    671671                                error_log( $msg, 3, CONSTANT( 'ERRORLOGFILE' ) );
Note: See TracChangeset for help on using the changeset viewer.