diff options
author | xue <> | 2006-03-22 02:11:47 +0000 |
---|---|---|
committer | xue <> | 2006-03-22 02:11:47 +0000 |
commit | 600d25bfdf3405f026b78bbc19983f945b21a5df (patch) | |
tree | 0082da47f567d5d3b2df52c20e881146b00df155 /framework/Exceptions | |
parent | 8e3f265f1e502ba3011888b725045406193ce8e8 (diff) |
Fixed a bug showing exception context.
Diffstat (limited to 'framework/Exceptions')
-rw-r--r-- | framework/Exceptions/TErrorHandler.php | 2 |
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)
{
|