Make WordPress Core


Ignore:
Timestamp:
02/17/2010 12:13:34 PM (15 years ago)
Author:
nacin
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/wp-db.php

    r13161 r13174  
    12321232        $bt = array_reverse( $bt );
    12331233        foreach ( (array) $bt as $call ) {
    1234             if ( @$call['class'] == __CLASS__ )
     1234            if ( isset( $call['class'] ) && __CLASS__ == $call['class'] )
    12351235                continue;
    12361236            $function = $call['function'];
Note: See TracChangeset for help on using the changeset viewer.