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:
markjaquith 2008-11-25 23:45:02 +00:00
parent ce69d4e5af
commit ab9ce8cf02

View File

@ -958,7 +958,7 @@ class wpdb {
return ''; return '';
$bt = debug_backtrace(); $bt = debug_backtrace();
$caller = ''; $caller = array();
$bt = array_reverse( $bt ); $bt = array_reverse( $bt );
foreach ( (array) $bt as $call ) { foreach ( (array) $bt as $call ) {