Skip to content

Commit

Permalink
Revert
Browse files Browse the repository at this point in the history
  • Loading branch information
laoneo committed May 22, 2017
1 parent d4afda7 commit b40ebb1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions libraries/joomla/document/error.php
Original file line number Diff line number Diff line change
Expand Up @@ -221,10 +221,6 @@ public function renderBacktrace()
return;
}

// The back trace
$backtrace = $this->_error->getTrace();
// Add the position of the actual file
array_unshift($backtrace, array('file' => $this->_error->getFile(), 'line' => $this->_error->getLine(), 'function' => ''));
return JLayoutHelper::render('joomla.error.backtrace', array('backtrace' => $backtrace));
return JLayoutHelper::render('joomla.error.backtrace', array('backtrace' => $this->_error->getTrace()));
}
}

0 comments on commit b40ebb1

Please sign in to comment.