mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Initialize caller as an array. Fixes a bug introduced in [9886]
git-svn-id: http://svn.automattic.com/wordpress/trunk@9890 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ce69d4e5af
commit
ab9ce8cf02
@ -958,7 +958,7 @@ class wpdb {
|
||||
return '';
|
||||
|
||||
$bt = debug_backtrace();
|
||||
$caller = '';
|
||||
$caller = array();
|
||||
|
||||
$bt = array_reverse( $bt );
|
||||
foreach ( (array) $bt as $call ) {
|
||||
|
Loading…
Reference in New Issue
Block a user