mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Fix notice. See #12362
git-svn-id: http://svn.automattic.com/wordpress/trunk@13578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c4fa74306d
commit
779a3e76dd
@ -903,7 +903,7 @@ class wpdb {
|
||||
$error_str = sprintf( /*WP_I18N_DB_QUERY_ERROR*/'WordPress database error %1$s for query %2$s'/*/WP_I18N_DB_QUERY_ERROR*/, $str, $this->last_query );
|
||||
|
||||
if ( function_exists( 'error_log' )
|
||||
&& $log_file = @ini_get( 'error_log' )
|
||||
&& ( $log_file = @ini_get( 'error_log' ) )
|
||||
&& ( 'syslog' == $log_file || @is_writable( $log_file ) )
|
||||
)
|
||||
@error_log( $error_str );
|
||||
|
Loading…
Reference in New Issue
Block a user