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

git-svn-id: https://develop.svn.wordpress.org/trunk@13174 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2010-02-17 12:13:34 +00:00
parent 663ab7e478
commit 5745de2119

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'] ) )