WordPress.org

Plugin Directory

Changeset 354226


Ignore:
Timestamp:
03/02/11 19:07:06 (3 years ago)
Author:
tott
Message:

fixing notice in log()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • debug-bar-extender/trunk/debug-bar-extender.php

    r354146 r354226  
    557557            'args' => ( !empty( $trace[2]['args'] ) ) ? $trace[2]['args'] : '', 
    558558            'caller_function' => ( !empty( $trace[3]['function'] ) ) ? $trace[3]['function'] . '()' : '', 
    559             'caller_line' => $trace[2]['line'], 
    560             'caller_file' => $trace[2]['file'], 
     559            'caller_line' => ( !empty( $trace[2]['line'] ) ) ? $trace[2]['line'] : '', 
     560            'caller_file' => ( !empty( $trace[2]['file'] ) ) ? $trace[2]['file'] : '', 
    561561 
    562562        ); 
Note: See TracChangeset for help on using the changeset viewer.