Use correct var name. see #11644

git-svn-id: https://develop.svn.wordpress.org/trunk@12668 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2010-01-08 20:07:40 +00:00
parent e5ddd20a49
commit bc99700623
1 changed files with 1 additions and 1 deletions

View File

@ -666,7 +666,7 @@ class wpdb {
// If there is an error then take note of it
if( is_multisite() ) {
$msg = "WordPress database error: [$str]\n{$this->query}\n";
$msg = "WordPress database error: [$str]\n{$this->last_query}\n";
if( defined( 'ERRORLOGFILE' ) )
error_log( $msg, 3, CONSTANT( 'ERRORLOGFILE' ) );
if( defined( 'DIEONDBERROR' ) )