Skip to content

Commit

Permalink
fixed except on error triggered.
Browse files Browse the repository at this point in the history
  • Loading branch information
hiromi2424 committed Mar 12, 2012
1 parent 6beae4a commit c19b233
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cake/libs/debugger.php
Expand Up @@ -630,8 +630,8 @@ function _output($data = array()) {

$files = $this->trace(array('start' => 2, 'format' => 'points'));
$code = '';
if (isset($files[0]['file'])) {
$code = $this->excerpt($files[0]['file'], $files[0]['line'] - 1, 1);
if (isset($files[1]['file'])) {
$code = $this->excerpt($files[1]['file'], $files[1]['line'] - 1, 1);
}
$trace = $this->trace(array('start' => 2, 'depth' => '20'));
$insertOpts = array('before' => '{:', 'after' => '}');
Expand Down

0 comments on commit c19b233

Please sign in to comment.