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:
parent
45cf3431f2
commit
a581554d9a
|
@ -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' ) )
|
||||
|
|
Loading…
Reference in New Issue