Fix suppressed notice in wpdb::get_caller(). Props arena, fixes #11721

git-svn-id: http://svn.automattic.com/wordpress/trunk@13174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-02-17 12:13:34 +00:00
parent f18f34ead8
commit bc6924cf05

View File

@ -1231,7 +1231,7 @@ class wpdb {
$bt = array_reverse( $bt );
foreach ( (array) $bt as $call ) {
if ( @$call['class'] == __CLASS__ )
if ( isset( $call['class'] ) && __CLASS__ == $call['class'] )
continue;
$function = $call['function'];
if ( isset( $call['class'] ) )