summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorxue <>2006-03-22 02:11:47 +0000
committerxue <>2006-03-22 02:11:47 +0000
commit600d25bfdf3405f026b78bbc19983f945b21a5df (patch)
tree0082da47f567d5d3b2df52c20e881146b00df155 /framework
parent8e3f265f1e502ba3011888b725045406193ce8e8 (diff)
Fixed a bug showing exception context.
Diffstat (limited to 'framework')
-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)
{