From bc6924cf05b46d85db99407a34277ac8a73bde40 Mon Sep 17 00:00:00 2001 From: nacin Date: Wed, 17 Feb 2010 12:13:34 +0000 Subject: [PATCH] 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 --- wp-includes/wp-db.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/wp-db.php b/wp-includes/wp-db.php index 2970426e95..92df1cd5d7 100644 --- a/wp-includes/wp-db.php +++ b/wp-includes/wp-db.php @@ -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'] ) )