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:
parent
e5ddd20a49
commit
bc99700623
@ -666,7 +666,7 @@ class wpdb {
|
|||||||
|
|
||||||
// If there is an error then take note of it
|
// If there is an error then take note of it
|
||||||
if( is_multisite() ) {
|
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' ) )
|
if( defined( 'ERRORLOGFILE' ) )
|
||||||
error_log( $msg, 3, CONSTANT( 'ERRORLOGFILE' ) );
|
error_log( $msg, 3, CONSTANT( 'ERRORLOGFILE' ) );
|
||||||
if( defined( 'DIEONDBERROR' ) )
|
if( defined( 'DIEONDBERROR' ) )
|
||||||
|
Loading…
Reference in New Issue
Block a user