Use correct var name. see #11644

git-svn-id: http://svn.automattic.com/wordpress/trunk@12668 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2010-01-08 20:07:40 +00:00
parent 45cf3431f2
commit a581554d9a
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' ) )