diff --git a/framework/yii/views/errorHandler/exception.php b/framework/yii/views/errorHandler/exception.php
index e8d5ee2..f0d3d6e 100644
--- a/framework/yii/views/errorHandler/exception.php
+++ b/framework/yii/views/errorHandler/exception.php
@@ -366,9 +366,9 @@ pre .diff .change{
renderCallStackItem($exception->getFile(), $exception->getLine(), null, null, 1); ?>
- getTrace(), $length = count($trace); $i < $length; ++$i): ?>
+ getTrace(), $length = count($trace); $i < $length; ++$i): ?>
renderCallStackItem(@$trace[$i]['file'] ?: null, @$trace[$i]['line'] ?: null,
- @$trace[$i]['class'] ?: null, @$trace[$i]['function'] ?: null, $i + 1); ?>
+ @$trace[$i]['class'] ?: null, @$trace[$i]['function'] ?: null, $i + 2); ?>