summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--framework/Exceptions/TErrorHandler.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Exceptions/TErrorHandler.php b/framework/Exceptions/TErrorHandler.php
index a1632271..23644fb7 100644
--- a/framework/Exceptions/TErrorHandler.php
+++ b/framework/Exceptions/TErrorHandler.php
@@ -213,7 +213,7 @@ class TErrorHandler extends TModule
$endLine=$errorLine+self::SOURCE_LINES<=count($lines)?$errorLine+self::SOURCE_LINES:count($lines);
$source='';
- for($i=$beginLine-1;$i<$endLine;++$i)
+ for($i=$beginLine;$i<$endLine;++$i)
{
if($i===$errorLine-1)
{