Development

Changeset 4112

You must first sign up to be able to contribute.

Changeset 4112

Show
Ignore:
Timestamp:
05/29/07 08:50:42 (2 years ago)
Author:
fabien
Message:

lime: fixed a notice when the backtrace does not exist

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • tools/lime/trunk/lib/lime.php

    r3298 r4112  
    7474      if ($_SERVER['PHP_SELF']) 
    7575      { 
    76         $i = strstr($traces[0]['file'], $_SERVER['PHP_SELF']) ? 0 : 1
     76        $i = strstr($traces[0]['file'], $_SERVER['PHP_SELF']) ? 0 : (isset($traces[1]['file']) ? 1 : 0)
    7777      } 
    7878      else